#64781B#64781B

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

Color values

HEX#64781B
RGBrgb(100, 120, 27)
HSLhsl(73, 63%, 29%)
HSVhsv(73, 78%, 47%)
CMYKcmyk(16.7%, 0%, 77.5%, 52.9%)
CIE-LABlab(47.26, -20.68, 45.32)
CIE-LCHlch(47.26, 49.82, 114.52°)
OKLaboklab(53.83% -0.061 0.1003)
OKLCHoklch(53.83% 0.117 121.3)
XYZxyz(12.1700, 16.2214, 3.5266)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64781B #2F1B78
analogous
#785E1B #64781B #36781B
triadic
#64781B #1B6478 #781B64
tetradic
#64781B #1B785E #2F1B78 #781B36
square
#64781B #1B785E #2F1B78 #781B36
split-complementary
#64781B #1B3678 #5E1B78
monochromatic
#151906 #3A4610 #64781B #8EAA26 #B2D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##64781B#FFFFFF#000000##FFFFFF
##64781B1.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)
#807007
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#6A7166
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #64781b;
/* rgb */ color: rgb(100, 120, 27);
/* oklch */ color: oklch(53.8% 0.117 121.3);
Tailwind
colors: {
  custom: {
    50: '#939f5f',
    500: '#64781b',
    950: '#000000',
  },
}
SCSS
$custom: #64781b;
$custom-light: #939f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#64781b",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 72.903,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.11739,
    "h": 121.3
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#64781B
secondary
#5943AC
accent
#41E665
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #64781B

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

Preview Lab → · Contrast checker → · Palette generator →

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