#64771A#64771A

#64771A is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.6% C 0.117 H 120.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#64771A
RGBrgb(100, 119, 26)
HSLhsl(72, 64%, 28%)
HSVhsv(72, 78%, 47%)
CMYKcmyk(16%, 0%, 78.2%, 53.3%)
CIE-LABlab(46.95, -20.21, 45.38)
CIE-LCHlch(46.95, 49.68, 114.01°)
OKLaboklab(53.57% -0.0598 0.1003)
OKLCHoklch(53.57% 0.117 120.8)
XYZxyz(12.0390, 15.9776, 3.4268)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64771A #2D1A77
analogous
#775B1A #64771A #35771A
triadic
#64771A #1A6477 #771A64
tetradic
#64771A #1A775B #2D1A77 #771A35
square
#64771A #1A775B #2D1A77 #771A35
split-complementary
#64771A #1A3577 #5B1A77
monochromatic
#151905 #3A450F #64771A #8EA925 #B4D338

Accessibility & contrast

On white

5.01
#64771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#64771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #64771A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64771A#FFFFFF#000000##FFFFFF
##64771A1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7005
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#6A7065
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #64771a;
/* rgb */ color: rgb(100, 119, 26);
/* oklch */ color: oklch(53.6% 0.117 120.8);
Tailwind
colors: {
  custom: {
    50: '#939e5f',
    500: '#64771a',
    950: '#000000',
  },
}
SCSS
$custom: #64771a;
$custom-light: #939e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#64771a",
  "rgb": {
    "r": 100,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 72.258,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.11672,
    "h": 120.8
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#64771A
secondary
#5741AC
accent
#41E763
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #64771A

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

Preview Lab → · Contrast checker → · Palette generator →

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