#64781A#64781A

#64781A is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.8% C 0.118 H 121.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#64781A
RGBrgb(100, 120, 26)
HSLhsl(73, 64%, 29%)
HSVhsv(73, 78%, 47%)
CMYKcmyk(16.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(47.26, -20.73, 45.68)
CIE-LCHlch(47.26, 50.16, 114.41°)
OKLaboklab(53.83% -0.0612 0.1009)
OKLCHoklch(53.83% 0.118 121.2)
XYZxyz(12.1587, 16.2169, 3.4667)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64781A #2E1A78
analogous
#785D1A #64781A #35781A
triadic
#64781A #1A6478 #781A64
tetradic
#64781A #1A785D #2E1A78 #781A35
square
#64781A #1A785D #2E1A78 #781A35
split-complementary
#64781A #1A3578 #5D1A78
monochromatic
#151905 #3A460F #64781A #8EAA25 #B3D438

Accessibility & contrast

On white

4.95
#64781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#64781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64781A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64781A#FFFFFF#000000##FFFFFF
##64781A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807004
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#6A7166
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #64781a;
/* rgb */ color: rgb(100, 120, 26);
/* oklch */ color: oklch(53.8% 0.118 121.2);
Tailwind
colors: {
  custom: {
    50: '#939f5f',
    500: '#64781a',
    950: '#000000',
  },
}
SCSS
$custom: #64781a;
$custom-light: #939f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#64781a",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 72.766,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.118,
    "h": 121.2
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#64781A
secondary
#5841AC
accent
#40E764
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #64781A

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

Preview Lab → · Contrast checker → · Palette generator →

#64781A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva