#668131#668131

#668131 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.112 H 125.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#668131
RGBrgb(102, 129, 49)
HSLhsl(80, 45%, 35%)
HSVhsv(80, 62%, 51%)
CMYKcmyk(20.9%, 0%, 62%, 49.4%)
CIE-LABlab(50.39, -22.83, 39.25)
CIE-LCHlch(50.39, 45.41, 120.19°)
OKLaboklab(56.45% -0.0649 0.0909)
OKLCHoklch(56.45% 0.112 125.5)
XYZxyz(13.8842, 18.7469, 5.7922)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668131 #4C3181
analogous
#817431 #668131 #3E8131
triadic
#668131 #316681 #813166
tetradic
#668131 #318174 #4C3181 #81313E
square
#668131 #318174 #4C3181 #81313E
split-complementary
#668131 #313E81 #743181
monochromatic
#20280F #435520 #668131 #89AD42 #A6C567

Accessibility & contrast

On white

4.42
#668131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#668131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668131
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668131#FFFFFF#000000##000000
##6681311.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#6A7B70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #668131;
/* rgb */ color: rgb(102, 129, 49);
/* oklch */ color: oklch(56.4% 0.112 125.5);
Tailwind
colors: {
  custom: {
    50: '#94a56c',
    500: '#668131',
    950: '#000000',
  },
}
SCSS
$custom: #668131;
$custom-light: #94a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#668131",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 80.25,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56449,
    "c": 0.11168,
    "h": 125.5
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#668131
secondary
#7B61AD
accent
#53D57F
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #668131

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

Preview Lab → · Contrast checker → · Palette generator →

#668131 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva