#64872C#64872C

#64872C is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.8% C 0.125 H 127.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#64872C
RGBrgb(100, 135, 44)
HSLhsl(83, 51%, 35%)
HSVhsv(83, 67%, 53%)
CMYKcmyk(25.9%, 0%, 67.4%, 47.1%)
CIE-LABlab(52.08, -27.07, 43.33)
CIE-LCHlch(52.08, 51.09, 122.00°)
OKLaboklab(57.77% -0.077 0.0989)
OKLCHoklch(57.77% 0.125 127.9)
XYZxyz(14.3741, 20.2188, 5.5277)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64872C #4F2C87
analogous
#877C2C #64872C #36872C
triadic
#64872C #2C6487 #872C64
tetradic
#64872C #2C877C #4F2C87 #872C36
square
#64872C #2C877C #4F2C87 #872C36
split-complementary
#64872C #2C3687 #7C2C87
monochromatic
#202B0E #42591D #64872C #86B53B #A3CC62

Accessibility & contrast

On white

4.16
#64872C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#64872C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64872C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64872C#FFFFFF#000000##000000
##64872C1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E20
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#678174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #64872c;
/* rgb */ color: rgb(100, 135, 44);
/* oklch */ color: oklch(57.8% 0.125 127.9);
Tailwind
colors: {
  custom: {
    50: '#93aa6a',
    500: '#64872c',
    950: '#000000',
  },
}
SCSS
$custom: #64872c;
$custom-light: #93aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#64872c",
  "rgb": {
    "r": 100,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 83.077,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.12531,
    "h": 127.9
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#64872C
secondary
#7E5DB2
accent
#4DDA84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #64872C

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

Preview Lab → · Contrast checker → · Palette generator →

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