#408519#408519

#408519 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.0% C 0.154 H 137.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#408519
RGBrgb(64, 133, 25)
HSLhsl(98, 68%, 31%)
HSVhsv(98, 81%, 52%)
CMYKcmyk(51.9%, 0%, 81.2%, 47.8%)
CIE-LABlab(49.42, -40.71, 47.32)
CIE-LCHlch(49.42, 62.43, 130.71°)
OKLaboklab(55.04% -0.1131 0.105)
OKLCHoklch(55.04% 0.154 137.1)
XYZxyz(10.6770, 17.9345, 3.8186)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408519 #5E1985
analogous
#768519 #408519 #198528
triadic
#408519 #194085 #851940
tetradic
#408519 #197685 #5E1985 #852819
square
#408519 #197685 #5E1985 #852819
split-complementary
#408519 #281985 #851976
monochromatic
#0E1E06 #27510F #408519 #59B923 #76DB3E

Accessibility & contrast

On white

4.58
#408519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#408519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408519
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408519#FFFFFF#000000##000000
##4085191.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#3C8071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #408519;
/* rgb */ color: rgb(64, 133, 25);
/* oklch */ color: oklch(55.0% 0.154 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ca960',
    500: '#408519',
    950: '#000000',
  },
}
SCSS
$custom: #408519;
$custom-light: #7ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#408519",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 98.333,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.15431,
    "h": 137.1
  },
  "luminance": 0.17935
}

Semantic roles & 50–950 ramp

primary
#408519
secondary
#8D41B9
accent
#3DEBAC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408519

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

Preview Lab → · Contrast checker → · Palette generator →

#408519 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva