#64872A#64872A

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

Color values

HEX#64872A
RGBrgb(100, 135, 42)
HSLhsl(83, 53%, 35%)
HSVhsv(83, 69%, 53%)
CMYKcmyk(25.9%, 0%, 68.9%, 47.1%)
CIE-LABlab(52.07, -27.23, 44.17)
CIE-LCHlch(52.07, 51.89, 121.65°)
OKLaboklab(57.75% -0.0776 0.1004)
OKLCHoklch(57.75% 0.127 127.7)
XYZxyz(14.3374, 20.2042, 5.3345)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64872A #4D2A87
analogous
#877C2A #64872A #35872A
triadic
#64872A #2A6487 #872A64
tetradic
#64872A #2A877C #4D2A87 #872A35
square
#64872A #2A877C #4D2A87 #872A35
split-complementary
#64872A #2A3587 #7C2A87
monochromatic
#1F2A0D #41581B #64872A #87B639 #A3CD5E

Accessibility & contrast

On white

4.17
#64872A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##64872A#FFFFFF#000000##000000
##64872A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1D
Deuteranopia (green-blind)
#897B32
Tritanopia (blue-blind)
#688174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #64872a;
/* rgb */ color: rgb(100, 135, 42);
/* oklch */ color: oklch(57.8% 0.127 127.7);
Tailwind
colors: {
  custom: {
    50: '#93aa69',
    500: '#64872a',
    950: '#000000',
  },
}
SCSS
$custom: #64872a;
$custom-light: #93aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#64872a",
  "rgb": {
    "r": 100,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 82.581,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.12687,
    "h": 127.7
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#64872A
secondary
#7B5AB3
accent
#4CDC82
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #64872A

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

Preview Lab → · Contrast checker → · Palette generator →

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