#64821B#64821B

#64821B is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.4% C 0.130 H 125.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#64821B
RGBrgb(100, 130, 27)
HSLhsl(77, 66%, 31%)
HSVhsv(77, 79%, 51%)
CMYKcmyk(23.1%, 0%, 79.2%, 49%)
CIE-LABlab(50.40, -25.73, 48.28)
CIE-LCHlch(50.40, 54.71, 118.06°)
OKLaboklab(56.37% -0.0748 0.1066)
OKLCHoklch(56.37% 0.13 125.1)
XYZxyz(13.4361, 18.7536, 3.9486)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64821B #391B82
analogous
#826C1B #64821B #30821B
triadic
#64821B #1B6482 #821B64
tetradic
#64821B #1B826C #391B82 #821B30
square
#64821B #1B826C #391B82 #821B30
split-complementary
#64821B #1B3082 #6C1B82
monochromatic
#161D06 #3D4F10 #64821B #8BB526 #ABD740

Accessibility & contrast

On white

4.42
#64821B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#64821B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64821B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64821B#FFFFFF#000000##000000
##64821B1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897901
Deuteranopia (green-blind)
#857825
Tritanopia (blue-blind)
#697B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #64821b;
/* rgb */ color: rgb(100, 130, 27);
/* oklch */ color: oklch(56.4% 0.130 125.1);
Tailwind
colors: {
  custom: {
    50: '#94a661',
    500: '#64821b',
    950: '#000000',
  },
}
SCSS
$custom: #64821b;
$custom-light: #94a661;
$custom-dark: #000000;
JSON
{
  "hex": "#64821b",
  "rgb": {
    "r": 100,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 77.476,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56367,
    "c": 0.13018,
    "h": 125.1
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#64821B
secondary
#6543B6
accent
#3FE971
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #64821B

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

Preview Lab → · Contrast checker → · Palette generator →

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