#66971B#66971B

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

Color values

HEX#66971B
RGBrgb(102, 151, 27)
HSLhsl(84, 70%, 35%)
HSVhsv(84, 82%, 59%)
CMYKcmyk(32.5%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.11, -34.84, 54.50)
CIE-LCHlch(57.11, 64.68, 122.59°)
OKLaboklab(61.86% -0.0996 0.1196)
OKLCHoklch(61.86% 0.156 129.8)
XYZxyz(16.7439, 25.0366, 4.9871)
Luminance0.2504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66971B #4C1B97
analogous
#978A1B #66971B #28971B
triadic
#66971B #1B6697 #971B66
tetradic
#66971B #1B978A #4C1B97 #971B28
square
#66971B #1B978A #4C1B97 #971B28
split-complementary
#66971B #1B2897 #8A1B97
monochromatic
#202F08 #436312 #66971B #89CB24 #A6DF4D

Accessibility & contrast

On white

3.50
#66971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##66971B#FFFFFF#000000##000000
##66971B1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66971b;
/* rgb */ color: rgb(102, 151, 27);
/* oklch */ color: oklch(61.9% 0.156 129.8);
Tailwind
colors: {
  custom: {
    50: '#96b664',
    500: '#66971b',
    950: '#000000',
  },
}
SCSS
$custom: #66971b;
$custom-light: #96b664;
$custom-dark: #000000;
JSON
{
  "hex": "#66971b",
  "rgb": {
    "r": 102,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 83.71,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.15567,
    "h": 129.8
  },
  "luminance": 0.25037
}

Semantic roles & 50–950 ramp

primary
#66971B
secondary
#7B4CC1
accent
#3BEC81
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #66971B

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

Preview Lab → · Contrast checker → · Palette generator →

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