#64871D#64871D

#64871D is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.7% C 0.135 H 126.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#64871D
RGBrgb(100, 135, 29)
HSLhsl(80, 65%, 32%)
HSVhsv(80, 79%, 53%)
CMYKcmyk(25.9%, 0%, 78.5%, 47.1%)
CIE-LABlab(51.98, -28.07, 49.09)
CIE-LCHlch(51.98, 56.55, 119.76°)
OKLaboklab(57.65% -0.081 0.1086)
OKLCHoklch(57.65% 0.135 126.7)
XYZxyz(14.1413, 20.1257, 4.3018)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64871D #401D87
analogous
#87751D #64871D #2F871D
triadic
#64871D #1D6487 #871D64
tetradic
#64871D #1D8775 #401D87 #871D2F
square
#64871D #1D8775 #401D87 #871D2F
split-complementary
#64871D #1D2F87 #751D87
monochromatic
#192207 #3F5512 #64871D #89B928 #A8D747

Accessibility & contrast

On white

4.18
#64871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#64871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64871D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64871D#FFFFFF#000000##000000
##64871D1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D03
Deuteranopia (green-blind)
#8A7B28
Tritanopia (blue-blind)
#688073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #64871d;
/* rgb */ color: rgb(100, 135, 29);
/* oklch */ color: oklch(57.7% 0.135 126.7);
Tailwind
colors: {
  custom: {
    50: '#94aa62',
    500: '#64871d',
    950: '#000000',
  },
}
SCSS
$custom: #64871d;
$custom-light: #94aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#64871d",
  "rgb": {
    "r": 100,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 79.811,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.13549,
    "h": 126.7
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#64871D
secondary
#6C46B9
accent
#40E877
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #64871D

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

Preview Lab → · Contrast checker → · Palette generator →

#64871D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva