#64871F#64871F

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

Color values

HEX#64871F
RGBrgb(100, 135, 31)
HSLhsl(80, 63%, 33%)
HSVhsv(80, 77%, 53%)
CMYKcmyk(25.9%, 0%, 77%, 47.1%)
CIE-LABlab(51.99, -27.96, 48.40)
CIE-LCHlch(51.99, 55.90, 120.01°)
OKLaboklab(57.67% -0.0805 0.1075)
OKLCHoklch(57.67% 0.134 126.8)
XYZxyz(14.1669, 20.1359, 4.4363)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64871F #421F87
analogous
#87761F #64871F #30871F
triadic
#64871F #1F6487 #871F64
tetradic
#64871F #1F8776 #421F87 #871F30
square
#64871F #1F8776 #421F87 #871F30
split-complementary
#64871F #1F3087 #761F87
monochromatic
#1A2308 #3F5514 #64871F #89B92A #A7D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##64871F#FFFFFF#000000##000000
##64871F1.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)
#8E7D07
Deuteranopia (green-blind)
#8A7B29
Tritanopia (blue-blind)
#688073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #64871f;
/* rgb */ color: rgb(100, 135, 31);
/* oklch */ color: oklch(57.7% 0.134 126.8);
Tailwind
colors: {
  custom: {
    50: '#94aa63',
    500: '#64871f',
    950: '#000000',
  },
}
SCSS
$custom: #64871f;
$custom-light: #94aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#64871f",
  "rgb": {
    "r": 100,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 80.192,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.13433,
    "h": 126.8
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#64871F
secondary
#6F4AB8
accent
#42E679
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #64871F

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

Preview Lab → · Contrast checker → · Palette generator →

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