#64971B#64971B

#64971B is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.7% C 0.157 H 130.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#64971B
RGBrgb(100, 151, 27)
HSLhsl(85, 70%, 35%)
HSVhsv(85, 82%, 59%)
CMYKcmyk(33.8%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.00, -35.61, 54.35)
CIE-LCHlch(57.00, 64.98, 123.23°)
OKLaboklab(61.73% -0.1016 0.1194)
OKLCHoklch(61.73% 0.157 130.4)
XYZxyz(16.5199, 24.9211, 4.9766)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64971B #4E1B97
analogous
#978C1B #64971B #26971B
triadic
#64971B #1B6497 #971B64
tetradic
#64971B #1B978C #4E1B97 #971B26
square
#64971B #1B978C #4E1B97 #971B26
split-complementary
#64971B #1B2697 #8C1B97
monochromatic
#1F2F08 #426312 #64971B #86CB24 #A3DF4D

Accessibility & contrast

On white

3.51
#64971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#64971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64971B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64971B#FFFFFF#000000##000000
##64971B1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64971b;
/* rgb */ color: rgb(100, 151, 27);
/* oklch */ color: oklch(61.7% 0.157 130.4);
Tailwind
colors: {
  custom: {
    50: '#95b664',
    500: '#64971b',
    950: '#000000',
  },
}
SCSS
$custom: #64971b;
$custom-light: #95b664;
$custom-dark: #000000;
JSON
{
  "hex": "#64971b",
  "rgb": {
    "r": 100,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 84.677,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.15674,
    "h": 130.4
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

primary
#64971B
secondary
#7D4CC1
accent
#3BEC84
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #64971B

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

Preview Lab → · Contrast checker → · Palette generator →

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