#668B31#668B31

#668B31 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.126 H 128.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#668B31
RGBrgb(102, 139, 49)
HSLhsl(85, 48%, 37%)
HSVhsv(85, 65%, 55%)
CMYKcmyk(26.6%, 0%, 64.7%, 45.5%)
CIE-LABlab(53.50, -27.80, 42.67)
CIE-LCHlch(53.50, 50.93, 123.08°)
OKLaboklab(58.97% -0.0786 0.0981)
OKLCHoklch(58.97% 0.126 128.7)
XYZxyz(15.2664, 21.5114, 6.2529)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B31 #56318B
analogous
#8B8331 #668B31 #398B31
triadic
#668B31 #31668B #8B3166
tetradic
#668B31 #318B83 #56318B #8B3139
square
#668B31 #318B83 #56318B #8B3139
split-complementary
#668B31 #31398B #83318B
monochromatic
#243111 #455E21 #668B31 #87B841 #A4CB6B

Accessibility & contrast

On white

3.96
#668B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#668B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B31
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B31#FFFFFF#000000##000000
##668B311.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928126
Deuteranopia (green-blind)
#8C7F38
Tritanopia (blue-blind)
#698578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b31;
/* rgb */ color: rgb(102, 139, 49);
/* oklch */ color: oklch(59.0% 0.126 128.7);
Tailwind
colors: {
  custom: {
    50: '#94ad6d',
    500: '#668b31',
    950: '#000000',
  },
}
SCSS
$custom: #668b31;
$custom-light: #94ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#668b31",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 84.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5897,
    "c": 0.12576,
    "h": 128.7
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

primary
#668B31
secondary
#8565B2
accent
#50D788
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668B31

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

Preview Lab → · Contrast checker → · Palette generator →

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