#64821F#64821F

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

Color values

HEX#64821F
RGBrgb(100, 130, 31)
HSLhsl(78, 61%, 32%)
HSVhsv(78, 76%, 51%)
CMYKcmyk(23.1%, 0%, 76.2%, 49%)
CIE-LABlab(50.42, -25.51, 46.89)
CIE-LCHlch(50.42, 53.38, 118.55°)
OKLaboklab(56.39% -0.0739 0.1043)
OKLCHoklch(56.39% 0.128 125.3)
XYZxyz(13.4856, 18.7733, 4.2092)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64821F #3D1F82
analogous
#826F1F #64821F #33821F
triadic
#64821F #1F6482 #821F64
tetradic
#64821F #1F826F #3D1F82 #821F33
square
#64821F #1F826F #3D1F82 #821F33
split-complementary
#64821F #1F3382 #6F1F82
monochromatic
#181F07 #3E5113 #64821F #8AB32B #A9D348

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##64821F#FFFFFF#000000##000000
##64821F1.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)
#89790A
Deuteranopia (green-blind)
#857828
Tritanopia (blue-blind)
#697C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #64821f;
/* rgb */ color: rgb(100, 130, 31);
/* oklch */ color: oklch(56.4% 0.128 125.3);
Tailwind
colors: {
  custom: {
    50: '#93a662',
    500: '#64821f',
    950: '#000000',
  },
}
SCSS
$custom: #64821f;
$custom-light: #93a662;
$custom-dark: #000000;
JSON
{
  "hex": "#64821f",
  "rgb": {
    "r": 100,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 78.182,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.12783,
    "h": 125.3
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#64821F
secondary
#6948B5
accent
#43E574
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #64821F

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

Preview Lab → · Contrast checker → · Palette generator →

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