#668F02

Closest named color: Dark Yellow Green (#728F02). oklch(59.7% 0.154 127.2), rgb(102, 143, 2).

Aa

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

About this color

#668F02 is a medium-dark, vivid green. In OKLCH its lightness is 60%, its chroma 0.154 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.015 away. Black text reads best on it, at 5.49:1.

Hue familyGreens
Lightnessmedium-dark (60%)
Chromavivid (0.154)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text5.49:1
White text3.82:1

Values

HEX#668F02
RGBrgb(102, 143, 2)
HSLhsl(77, 97%, 28%)
OKLCHoklch(59.7% 0.154 127.2)

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 #668F02 3.82:1 AA large text Lc -71.0 Content text, not long reading
Black text on #668F02 5.49:1 AA Lc 38.6 Non-text elements, placeholder text
#668F02 text on white 3.82:1 AA large text Lc 65.5 Content text, not long reading
#668F02 text on black 5.49:1 AA Lc -36.2 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 500.

  1. Step 50

    50

    #F3F7F0

    oklch(97.1% 0.01 131.4)

  2. Step 100

    100

    #E6EDDD

    oklch(93.6% 0.023 126.2)

  3. Step 200

    200

    #D1DFC1

    oklch(88.5% 0.043 127.7)

  4. Step 300

    300

    #B3CA96

    oklch(80.8% 0.075 127.4)

  5. Step 400

    400

    #8CAE58

    oklch(70.6% 0.12 127)

  6. Step 500

    500 (this color)

    #668F02

    oklch(59.7% 0.154 127.2)

  7. Step 600

    600

    #5C8200

    oklch(55.7% 0.144 127.3)

  8. Step 700

    700

    #4D6D00

    oklch(49.1% 0.127 127.1)

  9. Step 800

    800

    #3E5900

    oklch(42.6% 0.11 127.2)

  10. Step 900

    900

    #334A00

    oklch(37.6% 0.097 127.1)

  11. Step 950

    950

    #1E2C04

    oklch(27.1% 0.064 127)

Export this scale for Tailwind in the Tailwind colors tool

#668F02 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)#9784000.074
Deuteranopia (no green cones)#91821B0.072
Tritanopia (no blue cones)#6B88790.123
Achromatopsia (no color)#8282820.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #668F02

    #668F02

    oklch(59.7% 0.154 127.2)

  • #9863C6

    #9863C6

    oklch(59.8% 0.153 307.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #668F02

    #668F02

    oklch(59.7% 0.154 127.2)

  • #947F00

    #947F00

    oklch(59.8% 0.123 97.5)

  • #00985C

    #00985C

    oklch(59.8% 0.142 157)

Open the analogous palette in the generator

Split complementary

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

  • #668F02

    #668F02

    oklch(59.7% 0.154 127.2)

  • #6A73D9

    #6A73D9

    oklch(59.7% 0.154 276.9)

  • #B756A0

    #B756A0

    oklch(59.7% 0.154 337.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #668F02

    #668F02

    oklch(59.7% 0.154 127.2)

  • #0E84D5

    #0E84D5

    oklch(59.7% 0.154 247.2)

  • #C8516F

    #C8516F

    oklch(59.8% 0.153 7.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #668F02

    #668F02

    oklch(59.7% 0.154 127.2)

  • #008EA9

    #008EA9

    oklch(59.7% 0.107 217.5)

  • #9863C6

    #9863C6

    oklch(59.8% 0.153 307.1)

  • #C95735

    #C95735

    oklch(59.6% 0.154 37.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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