#64971F#64971F

#64971F is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.8% C 0.155 H 130.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#64971F
RGBrgb(100, 151, 31)
HSLhsl(86, 66%, 36%)
HSVhsv(86, 79%, 59%)
CMYKcmyk(33.8%, 0%, 79.5%, 40.8%)
CIE-LABlab(57.02, -35.42, 53.16)
CIE-LCHlch(57.02, 63.88, 123.67°)
OKLaboklab(61.76% -0.1008 0.1175)
OKLCHoklch(61.76% 0.155 130.6)
XYZxyz(16.5694, 24.9409, 5.2371)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64971F #521F97
analogous
#978E1F #64971F #28971F
triadic
#64971F #1F6497 #971F64
tetradic
#64971F #1F978E #521F97 #971F28
square
#64971F #1F978E #521F97 #971F28
split-complementary
#64971F #1F2897 #8E1F97
monochromatic
#21310A #426415 #64971F #86CA29 #A2DC54

Accessibility & contrast

On white

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

On black

5.99
#64971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64971F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64971F#FFFFFF#000000##000000
##64971F1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64971f;
/* rgb */ color: rgb(100, 151, 31);
/* oklch */ color: oklch(61.8% 0.155 130.6);
Tailwind
colors: {
  custom: {
    50: '#95b665',
    500: '#64971f',
    950: '#000000',
  },
}
SCSS
$custom: #64971f;
$custom-light: #95b665;
$custom-dark: #000000;
JSON
{
  "hex": "#64971f",
  "rgb": {
    "r": 100,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 85.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.1548,
    "h": 130.6
  },
  "luminance": 0.24941
}

Semantic roles & 50–950 ramp

primary
#64971F
secondary
#8152BF
accent
#3FE987
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #64971F

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

Preview Lab → · Contrast checker → · Palette generator →

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