#668E29#668E29

#668E29 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.136 H 128.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#668E29
RGBrgb(102, 142, 41)
HSLhsl(84, 55%, 36%)
HSVhsv(84, 71%, 56%)
CMYKcmyk(28.2%, 0%, 71.1%, 44.3%)
CIE-LABlab(54.38, -29.86, 47.01)
CIE-LCHlch(54.38, 55.70, 122.43°)
OKLaboklab(59.66% -0.085 0.1061)
OKLCHoklch(59.66% 0.136 128.7)
XYZxyz(15.5527, 22.3305, 5.5882)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E29 #51298E
analogous
#8E8329 #668E29 #348E29
triadic
#668E29 #29668E #8E2966
tetradic
#668E29 #298E83 #51298E #8E2934
square
#668E29 #298E83 #51298E #8E2934
split-complementary
#668E29 #29348E #83298E
monochromatic
#222F0E #445F1B #668E29 #88BD37 #A4D160

Accessibility & contrast

On white

3.84
#668E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#668E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E29
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E29#FFFFFF#000000##000000
##668E291.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958419
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e29;
/* rgb */ color: rgb(102, 142, 41);
/* oklch */ color: oklch(59.7% 0.136 128.7);
Tailwind
colors: {
  custom: {
    50: '#95af69',
    500: '#668e29',
    950: '#000000',
  },
}
SCSS
$custom: #668e29;
$custom-light: #95af69;
$custom-dark: #000000;
JSON
{
  "hex": "#668e29",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 83.762,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.136,
    "h": 128.7
  },
  "luminance": 0.22331
}

Semantic roles & 50–950 ramp

primary
#668E29
secondary
#805CB7
accent
#49DF84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668E29

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#668E29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva