#408F19#408F19

#408F19 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.167 H 138.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#408F19
RGBrgb(64, 143, 25)
HSLhsl(100, 70%, 33%)
HSVhsv(100, 83%, 56%)
CMYKcmyk(55.2%, 0%, 82.5%, 43.9%)
CIE-LABlab(52.73, -44.66, 50.42)
CIE-LCHlch(52.73, 67.35, 131.53°)
OKLaboklab(57.78% -0.1237 0.1115)
OKLCHoklch(57.78% 0.167 138)
XYZxyz(12.1119, 20.8041, 4.2969)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F19 #68198F
analogous
#7B8F19 #408F19 #198F2D
triadic
#408F19 #19408F #8F1940
tetradic
#408F19 #197B8F #68198F #8F2D19
square
#408F19 #197B8F #68198F #8F2D19
split-complementary
#408F19 #2D198F #8F197B
monochromatic
#112707 #295B10 #408F19 #57C322 #77DE44

Accessibility & contrast

On white

4.07
#408F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#408F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408F19
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408F19#FFFFFF#000000##000000
##408F191.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#398A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f19;
/* rgb */ color: rgb(64, 143, 25);
/* oklch */ color: oklch(57.8% 0.167 138.0);
Tailwind
colors: {
  custom: {
    50: '#7eb061',
    500: '#408f19',
    950: '#000000',
  },
}
SCSS
$custom: #408f19;
$custom-light: #7eb061;
$custom-dark: #000000;
JSON
{
  "hex": "#408f19",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 100.169,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.1665,
    "h": 138
  },
  "luminance": 0.20805
}

Semantic roles & 50–950 ramp

primary
#408F19
secondary
#9744BF
accent
#3BEDB2
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #408F19

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

Preview Lab → · Contrast checker → · Palette generator →

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