#64781C#64781C

#64781C 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#64781C
RGBrgb(100, 120, 28)
HSLhsl(73, 62%, 29%)
HSVhsv(73, 77%, 47%)
CMYKcmyk(16.7%, 0%, 76.7%, 52.9%)
CIE-LABlab(47.27, -20.62, 44.96)
CIE-LCHlch(47.27, 49.47, 114.64°)
OKLaboklab(53.84% -0.0607 0.0997)
OKLCHoklch(53.84% 0.117 121.3)
XYZxyz(12.1818, 16.2261, 3.5886)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64781C #301C78
analogous
#785E1C #64781C #36781C
triadic
#64781C #1C6478 #781C64
tetradic
#64781C #1C785E #301C78 #781C36
square
#64781C #1C785E #301C78 #781C36
split-complementary
#64781C #1C3678 #5E1C78
monochromatic
#151906 #3B4610 #64781C #8DAA28 #B1D23D

Accessibility & contrast

On white

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

On black

4.25
#64781C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##64781C#FFFFFF#000000##FFFFFF
##64781C1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64781c;
/* rgb */ color: rgb(100, 120, 28);
/* oklch */ color: oklch(53.8% 0.117 121.3);
Tailwind
colors: {
  custom: {
    50: '#939f60',
    500: '#64781c',
    950: '#000000',
  },
}
SCSS
$custom: #64781c;
$custom-light: #939f60;
$custom-dark: #000000;
JSON
{
  "hex": "#64781c",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 73.043,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.11677,
    "h": 121.3
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#64781C
secondary
#5A44AC
accent
#43E566
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #64781C

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

Preview Lab → · Contrast checker → · Palette generator →

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