#64851F#64851F

#64851F is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.2% C 0.132 H 126.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#64851F
RGBrgb(100, 133, 31)
HSLhsl(79, 62%, 32%)
HSVhsv(79, 77%, 52%)
CMYKcmyk(24.8%, 0%, 76.7%, 47.8%)
CIE-LABlab(51.36, -26.99, 47.80)
CIE-LCHlch(51.36, 54.89, 119.45°)
OKLaboklab(57.16% -0.0779 0.1062)
OKLCHoklch(57.16% 0.132 126.3)
XYZxyz(13.8905, 19.5831, 4.3442)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64851F #401F85
analogous
#85731F #64851F #31851F
triadic
#64851F #1F6485 #851F64
tetradic
#64851F #1F8573 #401F85 #851F31
square
#64851F #1F8573 #401F85 #851F31
split-complementary
#64851F #1F3185 #731F85
monochromatic
#192208 #3F5313 #64851F #89B72B #A8D54A

Accessibility & contrast

On white

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

On black

4.92
#64851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64851F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64851F#FFFFFF#000000##000000
##64851F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C09
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#687E72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #64851f;
/* rgb */ color: rgb(100, 133, 31);
/* oklch */ color: oklch(57.2% 0.132 126.3);
Tailwind
colors: {
  custom: {
    50: '#93a863',
    500: '#64851f',
    950: '#000000',
  },
}
SCSS
$custom: #64851f;
$custom-light: #93a863;
$custom-dark: #000000;
JSON
{
  "hex": "#64851f",
  "rgb": {
    "r": 100,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 79.412,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57156,
    "c": 0.13173,
    "h": 126.3
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#64851F
secondary
#6C49B7
accent
#43E577
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #64851F

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

Preview Lab → · Contrast checker → · Palette generator →

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