#66971F#66971F

#66971F is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.9% C 0.154 H 130.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#66971F
RGBrgb(102, 151, 31)
HSLhsl(85, 66%, 36%)
HSVhsv(85, 79%, 59%)
CMYKcmyk(32.5%, 0%, 79.5%, 40.8%)
CIE-LABlab(57.13, -34.65, 53.30)
CIE-LCHlch(57.13, 63.58, 123.03°)
OKLaboklab(61.88% -0.0988 0.1177)
OKLCHoklch(61.88% 0.154 130)
XYZxyz(16.7933, 25.0564, 5.2476)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66971F #501F97
analogous
#978C1F #66971F #2A971F
triadic
#66971F #1F6697 #971F66
tetradic
#66971F #1F978C #501F97 #971F2A
square
#66971F #1F978C #501F97 #971F2A
split-complementary
#66971F #1F2A97 #8C1F97
monochromatic
#21310A #446415 #66971F #88CA29 #A5DC54

Accessibility & contrast

On white

3.49
#66971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#66971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66971F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66971F#FFFFFF#000000##000000
##66971F1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#699081
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #66971f;
/* rgb */ color: rgb(102, 151, 31);
/* oklch */ color: oklch(61.9% 0.154 130.0);
Tailwind
colors: {
  custom: {
    50: '#96b665',
    500: '#66971f',
    950: '#000000',
  },
}
SCSS
$custom: #66971f;
$custom-light: #96b665;
$custom-dark: #000000;
JSON
{
  "hex": "#66971f",
  "rgb": {
    "r": 102,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 84.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.15373,
    "h": 130
  },
  "luminance": 0.25057
}

Semantic roles & 50–950 ramp

primary
#66971F
secondary
#7F52BF
accent
#3FE984
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #66971F

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

Preview Lab → · Contrast checker → · Palette generator →

#66971F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva