#64871C#64871C

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

Color values

HEX#64871C
RGBrgb(100, 135, 28)
HSLhsl(80, 66%, 32%)
HSVhsv(80, 79%, 53%)
CMYKcmyk(25.9%, 0%, 79.3%, 47.1%)
CIE-LABlab(51.97, -28.12, 49.42)
CIE-LCHlch(51.97, 56.86, 119.64°)
OKLaboklab(57.65% -0.0812 0.1091)
OKLCHoklch(57.65% 0.136 126.7)
XYZxyz(14.1292, 20.1209, 4.2377)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64871C #3F1C87
analogous
#87751C #64871C #2F871C
triadic
#64871C #1C6487 #871C64
tetradic
#64871C #1C8775 #3F1C87 #871C2F
square
#64871C #1C8775 #3F1C87 #871C2F
split-complementary
#64871C #1C2F87 #751C87
monochromatic
#192207 #3E5411 #64871C #8ABA27 #A8D845

Accessibility & contrast

On white

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

On black

5.02
#64871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64871C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64871C#FFFFFF#000000##000000
##64871C1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64871c;
/* rgb */ color: rgb(100, 135, 28);
/* oklch */ color: oklch(57.6% 0.136 126.7);
Tailwind
colors: {
  custom: {
    50: '#94aa62',
    500: '#64871c',
    950: '#000000',
  },
}
SCSS
$custom: #64871c;
$custom-light: #94aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#64871c",
  "rgb": {
    "r": 100,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 79.626,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57646,
    "c": 0.13603,
    "h": 126.7
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#64871C
secondary
#6B45BA
accent
#3FE977
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #64871C

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

Preview Lab → · Contrast checker → · Palette generator →

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