#408E11#408E11

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

Color values

HEX#408E11
RGBrgb(64, 142, 17)
HSLhsl(97, 79%, 31%)
HSVhsv(97, 88%, 56%)
CMYKcmyk(54.9%, 0%, 88%, 44.3%)
CIE-LABlab(52.37, -44.65, 52.20)
CIE-LCHlch(52.37, 68.69, 130.54°)
OKLaboklab(57.47% -0.124 0.1141)
OKLCHoklch(57.47% 0.169 137.4)
XYZxyz(11.8881, 20.4755, 3.8559)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E11 #5F118E
analogous
#7E8E11 #408E11 #118E20
triadic
#408E11 #11408E #8E1140
tetradic
#408E11 #117E8E #5F118E #8E2011
square
#408E11 #117E8E #5F118E #8E2011
split-complementary
#408E11 #20118E #8E117E
monochromatic
#0F2104 #27570A #408E11 #59C518 #76E733

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408E11#FFFFFF#000000##000000
##408E111.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)
#897B23
Tritanopia (blue-blind)
#3A8978
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e11;
/* rgb */ color: rgb(64, 142, 17);
/* oklch */ color: oklch(57.5% 0.169 137.4);
Tailwind
colors: {
  custom: {
    50: '#7eb05e',
    500: '#408e11',
    950: '#000000',
  },
}
SCSS
$custom: #408e11;
$custom-light: #7eb05e;
$custom-dark: #000000;
JSON
{
  "hex": "#408e11",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 97.44,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.16853,
    "h": 137.4
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#408E11
secondary
#8F38C2
accent
#33F5AC
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #408E11

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

Preview Lab → · Contrast checker → · Palette generator →

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