#64871E#64871E

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

Color values

HEX#64871E
RGBrgb(100, 135, 30)
HSLhsl(80, 64%, 32%)
HSVhsv(80, 78%, 53%)
CMYKcmyk(25.9%, 0%, 77.8%, 47.1%)
CIE-LABlab(51.98, -28.01, 48.75)
CIE-LCHlch(51.98, 56.23, 119.88°)
OKLaboklab(57.66% -0.0808 0.1081)
OKLCHoklch(57.66% 0.135 126.8)
XYZxyz(14.1539, 20.1307, 4.3680)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64871E #411E87
analogous
#87761E #64871E #30871E
triadic
#64871E #1E6487 #871E64
tetradic
#64871E #1E8776 #411E87 #871E30
square
#64871E #1E8776 #411E87 #871E30
split-complementary
#64871E #1E3087 #761E87
monochromatic
#1A2308 #3F5513 #64871E #89B929 #A7D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##64871E#FFFFFF#000000##000000
##64871E1.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)
#8E7D05
Deuteranopia (green-blind)
#8A7B28
Tritanopia (blue-blind)
#688073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #64871e;
/* rgb */ color: rgb(100, 135, 30);
/* oklch */ color: oklch(57.7% 0.135 126.8);
Tailwind
colors: {
  custom: {
    50: '#94aa63',
    500: '#64871e',
    950: '#000000',
  },
}
SCSS
$custom: #64871e;
$custom-light: #94aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#64871e",
  "rgb": {
    "r": 100,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 80,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57659,
    "c": 0.13491,
    "h": 126.8
  },
  "luminance": 0.20131
}

Semantic roles & 50–950 ramp

primary
#64871E
secondary
#6E48B9
accent
#41E778
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #64871E

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

Preview Lab → · Contrast checker → · Palette generator →

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