#668E31#668E31

#668E31 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.130 H 129.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#668E31
RGBrgb(102, 142, 49)
HSLhsl(86, 49%, 37%)
HSVhsv(86, 65%, 56%)
CMYKcmyk(28.2%, 0%, 65.5%, 44.3%)
CIE-LABlab(54.44, -29.24, 43.69)
CIE-LCHlch(54.44, 52.57, 123.80°)
OKLaboklab(59.73% -0.0826 0.1003)
OKLCHoklch(59.73% 0.13 129.5)
XYZxyz(15.7068, 22.3921, 6.3997)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E31 #59318E
analogous
#8E8731 #668E31 #388E31
triadic
#668E31 #31668E #8E3166
tetradic
#668E31 #318E87 #59318E #8E3138
square
#668E31 #318E87 #59318E #8E3138
split-complementary
#668E31 #31388E #87318E
monochromatic
#253312 #456121 #668E31 #87BB41 #A3CD6D

Accessibility & contrast

On white

3.83
#668E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#668E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E31
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E31#FFFFFF#000000##000000
##668E311.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958425
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#69887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e31;
/* rgb */ color: rgb(102, 142, 49);
/* oklch */ color: oklch(59.7% 0.130 129.5);
Tailwind
colors: {
  custom: {
    50: '#95af6e',
    500: '#668e31',
    950: '#000000',
  },
}
SCSS
$custom: #668e31;
$custom-light: #95af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#668e31",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 85.806,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59729,
    "c": 0.12994,
    "h": 129.5
  },
  "luminance": 0.22393
}

Semantic roles & 50–950 ramp

primary
#668E31
secondary
#8867B4
accent
#50D88A
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668E31

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

Preview Lab → · Contrast checker → · Palette generator →

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