#408B19#408B19

#408B19 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.7% C 0.162 H 137.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#408B19
RGBrgb(64, 139, 25)
HSLhsl(99, 70%, 32%)
HSVhsv(99, 82%, 55%)
CMYKcmyk(54%, 0%, 82%, 45.5%)
CIE-LABlab(51.41, -43.10, 49.19)
CIE-LCHlch(51.41, 65.40, 131.23°)
OKLaboklab(56.68% -0.1195 0.1089)
OKLCHoklch(56.68% 0.162 137.6)
XYZxyz(11.5221, 19.6245, 4.1003)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B19 #64198B
analogous
#798B19 #408B19 #198B2B
triadic
#408B19 #19408B #8B1940
tetradic
#408B19 #19798B #64198B #8B2B19
square
#408B19 #19798B #64198B #8B2B19
split-complementary
#408B19 #2B198B #8B1979
monochromatic
#102306 #285710 #408B19 #58BF22 #77DD41

Accessibility & contrast

On white

4.26
#408B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#408B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B19
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B19#FFFFFF#000000##000000
##408B191.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#3A8676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408b19;
/* rgb */ color: rgb(64, 139, 25);
/* oklch */ color: oklch(56.7% 0.162 137.6);
Tailwind
colors: {
  custom: {
    50: '#7dad60',
    500: '#408b19',
    950: '#000000',
  },
}
SCSS
$custom: #408b19;
$custom-light: #7dad60;
$custom-dark: #000000;
JSON
{
  "hex": "#408b19",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 99.474,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56685,
    "c": 0.16168,
    "h": 137.6
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#408B19
secondary
#9342BE
accent
#3BECB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #408B19

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

Preview Lab → · Contrast checker → · Palette generator →

#408B19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva