#668C04

Closest named color: Sap Green (#5C8B15). oklch(59% 0.15 126.5), rgb(102, 140, 4).

Aa

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

About this color

#668C04 is a medium-dark, vivid green. In OKLCH its lightness is 59%, its chroma 0.150 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.013 away. Black text reads best on it, at 5.31:1.

Hue familyGreens
Lightnessmedium-dark (59%)
Chromavivid (0.150)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text5.31:1
White text3.94:1

Values

HEX#668C04
RGBrgb(102, 140, 4)
HSLhsl(77, 94%, 28%)
OKLCHoklch(59% 0.15 126.5)

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 #668C04 3.94:1 AA large text Lc -72.1 Content text, not long reading
Black text on #668C04 5.31:1 AA Lc 37.4 Non-text elements, placeholder text
#668C04 text on white 3.94:1 AA large text Lc 66.6 Content text, not long reading
#668C04 text on black 5.31:1 AA Lc -35.0 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

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E6ECDF

    oklch(93.5% 0.018 127.1)

  3. Step 200

    200

    #D3DEC4

    oklch(88.5% 0.037 125.9)

  4. Step 300

    300

    #B5C99A

    oklch(80.9% 0.067 126.6)

  5. Step 400

    400

    #8FAD61

    oklch(70.7% 0.108 126.6)

  6. Step 500

    500

    #74982F

    oklch(63.2% 0.138 126.4)

  7. Step 600

    600 (this color)

    #668C04

    oklch(59% 0.15 126.5)

  8. Step 700

    700

    #4E6D00

    oklch(49.2% 0.126 126.7)

  9. Step 800

    800

    #3F5900

    oklch(42.7% 0.11 126.7)

  10. Step 900

    900

    #354A09

    oklch(37.8% 0.091 126.7)

  11. Step 950

    950

    #1F2B09

    oklch(26.9% 0.056 126.5)

Export this scale for Tailwind in the Tailwind colors tool

#668C04 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)#9482000.070
Deuteranopia (no green cones)#8F7F1B0.071
Tritanopia (no blue cones)#6B85760.120
Achromatopsia (no color)#8080800.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #668C04

    #668C04

    oklch(59% 0.15 126.5)

  • #9462C2

    #9462C2

    oklch(59% 0.149 306.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #668C04

    #668C04

    oklch(59% 0.15 126.5)

  • #927C00

    #927C00

    oklch(58.9% 0.121 96.6)

  • #009559

    #009559

    oklch(58.9% 0.141 156.6)

Open the analogous palette in the generator

Split complementary

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

  • #668C04

    #668C04

    oklch(59% 0.15 126.5)

  • #6771D4

    #6771D4

    oklch(58.8% 0.15 276.4)

  • #B2559E

    #B2559E

    oklch(58.8% 0.15 336.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #668C04

    #668C04

    oklch(59% 0.15 126.5)

  • #0C82D0

    #0C82D0

    oklch(58.9% 0.15 246.6)

  • #C4506F

    #C4506F

    oklch(59% 0.151 6.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #668C04

    #668C04

    oklch(59% 0.15 126.5)

  • #008CA5

    #008CA5

    oklch(59% 0.105 216.2)

  • #9462C2

    #9462C2

    oklch(59% 0.149 306.4)

  • #C55637

    #C55637

    oklch(58.9% 0.15 36.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #668C04 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.