#668317

Closest named color: Swamp Green (#748500). oklch(56.7% 0.133 124.3), rgb(102, 131, 23).

Aa

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

About this color

#668317 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.021 away. Black text reads best on it, at 4.82:1.

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

Values

HEX#668317
RGBrgb(102, 131, 23)
HSLhsl(76, 70%, 30%)
OKLCHoklch(56.7% 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 #668317 4.35:1 AA large text Lc -75.5 Fine for body text
Black text on #668317 4.82:1 AA Lc 34.1 Non-text elements, placeholder text
#668317 text on white 4.35:1 AA large text Lc 70.0 Content text, not long reading
#668317 text on black 4.82:1 AA Lc -31.7 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)

    #668317

    oklch(56.7% 0.133 124.3)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #435808

    oklch(42.8% 0.102 124.5)

  10. Step 900

    900

    #384813

    oklch(37.6% 0.079 124.6)

  11. Step 950

    950

    #212A0D

    oklch(26.8% 0.049 124.1)

Export this scale for Tailwind in the Tailwind colors tool

#668317 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)#8B7A000.057
Deuteranopia (no green cones)#8779230.058
Tritanopia (no blue cones)#6B7C6F0.109
Achromatopsia (no color)#7979790.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #668317

    #668317

    oklch(56.7% 0.133 124.3)

  • #8860B5

    #8860B5

    oklch(56.7% 0.133 304.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #668317

    #668317

    oklch(56.7% 0.133 124.3)

  • #8D7500

    #8D7500

    oklch(56.8% 0.117 94.6)

  • #1C8D51

    #1C8D51

    oklch(56.9% 0.134 154.1)

Open the analogous palette in the generator

Split complementary

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

  • #668317

    #668317

    oklch(56.7% 0.133 124.3)

  • #606EC4

    #606EC4

    oklch(56.8% 0.133 274.4)

  • #A45596

    #A45596

    oklch(56.6% 0.133 334.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #668317

    #668317

    oklch(56.7% 0.133 124.3)

  • #187DBE

    #187DBE

    oklch(56.8% 0.132 244)

  • #B4506D

    #B4506D

    oklch(56.6% 0.133 4.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #668317

    #668317

    oklch(56.7% 0.133 124.3)

  • #00859B

    #00859B

    oklch(56.7% 0.1 214.7)

  • #8860B5

    #8860B5

    oklch(56.7% 0.133 304.2)

  • #B7553E

    #B7553E

    oklch(56.7% 0.133 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 #668317, closest first.

Similar named colors

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

Use #668317 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.