#668D31#668D31

#668D31 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.129 H 129.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#668D31
RGBrgb(102, 141, 49)
HSLhsl(85, 48%, 37%)
HSVhsv(85, 65%, 55%)
CMYKcmyk(27.7%, 0%, 65.2%, 44.7%)
CIE-LABlab(54.13, -28.76, 43.35)
CIE-LCHlch(54.13, 52.03, 123.56°)
OKLaboklab(59.48% -0.0813 0.0996)
OKLCHoklch(59.48% 0.129 129.2)
XYZxyz(15.5587, 22.0959, 6.3503)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D31 #58318D
analogous
#8D8631 #668D31 #388D31
triadic
#668D31 #31668D #8D3166
tetradic
#668D31 #318D86 #58318D #8D3138
square
#668D31 #318D86 #58318D #8D3138
split-complementary
#668D31 #31388D #86318D
monochromatic
#243211 #456021 #668D31 #87BA41 #A3CC6C

Accessibility & contrast

On white

3.88
#668D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#668D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D31
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D31#FFFFFF#000000##000000
##668D311.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948326
Deuteranopia (green-blind)
#8E8138
Tritanopia (blue-blind)
#69877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d31;
/* rgb */ color: rgb(102, 141, 49);
/* oklch */ color: oklch(59.5% 0.129 129.2);
Tailwind
colors: {
  custom: {
    50: '#94ae6e',
    500: '#668d31',
    950: '#000000',
  },
}
SCSS
$custom: #668d31;
$custom-light: #94ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#668d31",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 85.435,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59476,
    "c": 0.12855,
    "h": 129.2
  },
  "luminance": 0.22096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #668D31

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

Preview Lab → · Contrast checker → · Palette generator →

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