#64841C#64841C

#64841C is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.9% C 0.132 H 125.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#64841C
RGBrgb(100, 132, 28)
HSLhsl(78, 65%, 31%)
HSVhsv(78, 79%, 52%)
CMYKcmyk(24.2%, 0%, 78.8%, 48.2%)
CIE-LABlab(51.03, -26.66, 48.53)
CIE-LCHlch(51.03, 55.38, 118.78°)
OKLaboklab(56.88% -0.0773 0.1073)
OKLCHoklch(56.88% 0.132 125.8)
XYZxyz(13.7165, 19.2955, 4.1001)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64841C #3C1C84
analogous
#84701C #64841C #30841C
triadic
#64841C #1C6484 #841C64
tetradic
#64841C #1C8470 #3C1C84 #841C30
square
#64841C #1C8470 #3C1C84 #841C30
split-complementary
#64841C #1C3084 #701C84
monochromatic
#181F07 #3E5211 #64841C #8AB627 #AAD743

Accessibility & contrast

On white

4.32
#64841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#64841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #64841C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64841C#FFFFFF#000000##000000
##64841C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B02
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#697D71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #64841c;
/* rgb */ color: rgb(100, 132, 28);
/* oklch */ color: oklch(56.9% 0.132 125.8);
Tailwind
colors: {
  custom: {
    50: '#94a861',
    500: '#64841c',
    950: '#000000',
  },
}
SCSS
$custom: #64841c;
$custom-light: #94a861;
$custom-dark: #000000;
JSON
{
  "hex": "#64841c",
  "rgb": {
    "r": 100,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 78.462,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.13219,
    "h": 125.8
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

primary
#64841C
secondary
#6845B7
accent
#40E874
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #64841C

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

Preview Lab → · Contrast checker → · Palette generator →

#64841C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva