#64872D#64872D

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

Color values

HEX#64872D
RGBrgb(100, 135, 45)
HSLhsl(83, 50%, 35%)
HSVhsv(83, 67%, 53%)
CMYKcmyk(25.9%, 0%, 66.7%, 47.1%)
CIE-LABlab(52.09, -26.99, 42.90)
CIE-LCHlch(52.09, 50.69, 122.18°)
OKLaboklab(57.78% -0.0767 0.0981)
OKLCHoklch(57.78% 0.125 128)
XYZxyz(14.3931, 20.2264, 5.6279)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64872D #502D87
analogous
#877D2D #64872D #37872D
triadic
#64872D #2D6487 #872D64
tetradic
#64872D #2D877D #502D87 #872D37
square
#64872D #2D877D #502D87 #872D37
split-complementary
#64872D #2D3787 #7D2D87
monochromatic
#202B0E #42591E #64872D #86B53C #A3CB63

Accessibility & contrast

On white

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

On black

5.05
#64872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64872D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64872D#FFFFFF#000000##000000
##64872D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64872d;
/* rgb */ color: rgb(100, 135, 45);
/* oklch */ color: oklch(57.8% 0.125 128.0);
Tailwind
colors: {
  custom: {
    50: '#93aa6b',
    500: '#64872d',
    950: '#000000',
  },
}
SCSS
$custom: #64872d;
$custom-light: #93aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#64872d",
  "rgb": {
    "r": 100,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 83.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.12452,
    "h": 128
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#64872D
secondary
#7F5EB2
accent
#4EDA84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #64872D

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

Preview Lab → · Contrast checker → · Palette generator →

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