#678418

Closest named color: Swamp Green (#748500). oklch(57.1% 0.133 124.3), rgb(103, 132, 24).

Aa

Black text reads best on this color (4.89:1).

About this color

#678418 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.133 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.018 away. Black text reads best on it, at 4.89:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameSwamp Green (#748500)
Black text4.89:1
White text4.29:1

Values

HEX#678418
RGBrgb(103, 132, 24)
HSLhsl(76, 69%, 31%)
OKLCHoklch(57.1% 0.133 124.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #678418 4.29:1 AA large text Lc -75.0 Fine for body text
Black text on #678418 4.89:1 AA Lc 34.5 Non-text elements, placeholder text
#678418 text on white 4.29:1 AA large text Lc 69.6 Content text, not long reading
#678418 text on black 4.89:1 AA Lc -32.1 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D4DDC6

    oklch(88.4% 0.032 124.5)

  4. Step 300

    300

    #B8C89E

    oklch(81% 0.06 124.7)

  5. Step 400

    400

    #94AB67

    oklch(70.7% 0.096 124.1)

  6. Step 500

    500

    #7A963B

    oklch(63.2% 0.123 124.3)

  7. Step 600

    600 (this color)

    #678418

    oklch(57.1% 0.133 124.3)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #435807

    oklch(42.8% 0.103 124.4)

  10. Step 900

    900

    #394812

    oklch(37.6% 0.079 123.6)

  11. Step 950

    950

    #212A0D

    oklch(26.8% 0.049 124.1)

Export this scale for Tailwind in the Tailwind colors tool

#678418 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#8C7B000.056
Deuteranopia (no green cones)#887A230.057
Tritanopia (no blue cones)#6C7D700.109
Achromatopsia (no color)#7A7A7A0.133

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #678418

    #678418

    oklch(57.1% 0.133 124.3)

  • #8961B6

    #8961B6

    oklch(57% 0.132 304.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #678418

    #678418

    oklch(57.1% 0.133 124.3)

  • #8E7600

    #8E7600

    oklch(57.2% 0.117 94.7)

  • #1E8E52

    #1E8E52

    oklch(57.2% 0.133 154.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #678418

    #678418

    oklch(57.1% 0.133 124.3)

  • #616FC5

    #616FC5

    oklch(57.1% 0.133 274.5)

  • #A55697

    #A55697

    oklch(57% 0.133 334.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #678418

    #678418

    oklch(57.1% 0.133 124.3)

  • #197EC0

    #197EC0

    oklch(57.2% 0.133 244.3)

  • #B6516E

    #B6516E

    oklch(57.1% 0.134 4.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #678418

    #678418

    oklch(57.1% 0.133 124.3)

  • #00869C

    #00869C

    oklch(57% 0.101 214.6)

  • #8961B6

    #8961B6

    oklch(57% 0.132 304.2)

  • #B8563F

    #B8563F

    oklch(57.1% 0.132 34.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #678418, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #678418 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.