#408E13#408E13

#408E13 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.5% C 0.168 H 137.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#408E13
RGBrgb(64, 142, 19)
HSLhsl(98, 76%, 32%)
HSVhsv(98, 87%, 56%)
CMYKcmyk(54.9%, 0%, 86.6%, 44.3%)
CIE-LABlab(52.38, -44.57, 51.73)
CIE-LCHlch(52.38, 68.28, 130.75°)
OKLaboklab(57.48% -0.1237 0.1134)
OKLCHoklch(57.48% 0.168 137.5)
XYZxyz(11.9045, 20.4821, 3.9421)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E13 #61138E
analogous
#7E8E13 #408E13 #138E24
triadic
#408E13 #13408E #8E1340
tetradic
#408E13 #137E8E #61138E #8E2413
square
#408E13 #137E8E #61138E #8E2413
split-complementary
#408E13 #24138E #8E137E
monochromatic
#0F2205 #28580C #408E13 #58C41A #76E437

Accessibility & contrast

On white

4.12
#408E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#408E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408E13
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408E13#FFFFFF#000000##000000
##408E131.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#3A8978
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e13;
/* rgb */ color: rgb(64, 142, 19);
/* oklch */ color: oklch(57.5% 0.168 137.5);
Tailwind
colors: {
  custom: {
    50: '#7eb05f',
    500: '#408e13',
    950: '#000000',
  },
}
SCSS
$custom: #408e13;
$custom-light: #7eb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#408e13",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 98.049,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.16781,
    "h": 137.5
  },
  "luminance": 0.20483
}

Semantic roles & 50–950 ramp

primary
#408E13
secondary
#913BC2
accent
#35F3AD
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #408E13

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

Preview Lab → · Contrast checker → · Palette generator →

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