#64842B#64842B

#64842B is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.122 H 126.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#64842B
RGBrgb(100, 132, 43)
HSLhsl(82, 51%, 34%)
HSVhsv(82, 67%, 52%)
CMYKcmyk(24.2%, 0%, 67.4%, 48.2%)
CIE-LABlab(51.14, -25.68, 42.76)
CIE-LCHlch(51.14, 49.88, 120.99°)
OKLaboklab(57% -0.0732 0.0976)
OKLCHoklch(57% 0.122 126.9)
XYZxyz(13.9429, 19.3860, 5.2923)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64842B #4B2B84
analogous
#84782B #64842B #38842B
triadic
#64842B #2B6484 #842B64
tetradic
#64842B #2B8478 #4B2B84 #842B38
square
#64842B #2B8478 #4B2B84 #842B38
split-complementary
#64842B #2B3884 #782B84
monochromatic
#1E280D #41561C #64842B #87B23A #A4CB5F

Accessibility & contrast

On white

4.31
#64842B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#64842B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64842B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64842B#FFFFFF#000000##000000
##64842B1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#687E72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #64842b;
/* rgb */ color: rgb(100, 132, 43);
/* oklch */ color: oklch(57.0% 0.122 126.9);
Tailwind
colors: {
  custom: {
    50: '#93a869',
    500: '#64842b',
    950: '#000000',
  },
}
SCSS
$custom: #64842b;
$custom-light: #93a869;
$custom-dark: #000000;
JSON
{
  "hex": "#64842b",
  "rgb": {
    "r": 100,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 81.573,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57,
    "c": 0.12198,
    "h": 126.9
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

primary
#64842B
secondary
#795AB1
accent
#4DDA80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #64842B

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

Preview Lab → · Contrast checker → · Palette generator →

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