#408819#408819

#408819 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 55.9% C 0.158 H 137.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#408819
RGBrgb(64, 136, 25)
HSLhsl(99, 69%, 32%)
HSVhsv(99, 82%, 53%)
CMYKcmyk(52.9%, 0%, 81.6%, 46.7%)
CIE-LABlab(50.41, -41.92, 48.26)
CIE-LCHlch(50.41, 63.92, 130.98°)
OKLaboklab(55.86% -0.1163 0.107)
OKLCHoklch(55.86% 0.158 137.4)
XYZxyz(11.0936, 18.7677, 3.9575)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408819 #611988
analogous
#788819 #408819 #19882A
triadic
#408819 #194088 #881940
tetradic
#408819 #197888 #611988 #882A19
square
#408819 #197888 #611988 #882A19
split-complementary
#408819 #2A1988 #881978
monochromatic
#0F2106 #28540F #408819 #58BC23 #76DC40

Accessibility & contrast

On white

4.42
#408819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#408819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408819
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408819#FFFFFF#000000##000000
##4088191.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#3B8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #408819;
/* rgb */ color: rgb(64, 136, 25);
/* oklch */ color: oklch(55.9% 0.158 137.4);
Tailwind
colors: {
  custom: {
    50: '#7dab60',
    500: '#408819',
    950: '#000000',
  },
}
SCSS
$custom: #408819;
$custom-light: #7dab60;
$custom-dark: #000000;
JSON
{
  "hex": "#408819",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 98.919,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55865,
    "c": 0.15801,
    "h": 137.4
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#408819
secondary
#9141BB
accent
#3CECAE
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408819

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

Preview Lab → · Contrast checker → · Palette generator →

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