#64851B#64851B

#64851B is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.1% C 0.134 H 126.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#64851B
RGBrgb(100, 133, 27)
HSLhsl(79, 66%, 31%)
HSVhsv(79, 80%, 52%)
CMYKcmyk(24.8%, 0%, 79.7%, 47.8%)
CIE-LABlab(51.34, -27.20, 49.16)
CIE-LCHlch(51.34, 56.18, 118.96°)
OKLaboklab(57.13% -0.0788 0.1084)
OKLCHoklch(57.13% 0.134 126)
XYZxyz(13.8410, 19.5633, 4.0836)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64851B #3C1B85
analogous
#85711B #64851B #2F851B
triadic
#64851B #1B6485 #851B64
tetradic
#64851B #1B8571 #3C1B85 #851B2F
square
#64851B #1B8571 #3C1B85 #851B2F
split-complementary
#64851B #1B2F85 #711B85
monochromatic
#181F06 #3E5211 #64851B #8AB825 #AAD942

Accessibility & contrast

On white

4.27
#64851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#64851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64851B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64851B#FFFFFF#000000##000000
##64851B1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#697E71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #64851b;
/* rgb */ color: rgb(100, 133, 27);
/* oklch */ color: oklch(57.1% 0.134 126.0);
Tailwind
colors: {
  custom: {
    50: '#94a861',
    500: '#64851b',
    950: '#000000',
  },
}
SCSS
$custom: #64851b;
$custom-light: #94a861;
$custom-dark: #000000;
JSON
{
  "hex": "#64851b",
  "rgb": {
    "r": 100,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 78.679,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.13402,
    "h": 126
  },
  "luminance": 0.19564
}

Semantic roles & 50–950 ramp

primary
#64851B
secondary
#6844B8
accent
#3FE974
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #64851B

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

Preview Lab → · Contrast checker → · Palette generator →

#64851B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva