#408E14#408E14

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

Color values

HEX#408E14
RGBrgb(64, 142, 20)
HSLhsl(98, 75%, 32%)
HSVhsv(98, 86%, 56%)
CMYKcmyk(54.9%, 0%, 85.9%, 44.3%)
CIE-LABlab(52.38, -44.52, 51.48)
CIE-LCHlch(52.38, 68.06, 130.85°)
OKLaboklab(57.48% -0.1235 0.113)
OKLCHoklch(57.48% 0.167 137.6)
XYZxyz(11.9132, 20.4856, 3.9880)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E14 #62148E
analogous
#7D8E14 #408E14 #148E25
triadic
#408E14 #14408E #8E1440
tetradic
#408E14 #147D8E #62148E #8E2514
square
#408E14 #147D8E #62148E #8E2514
split-complementary
#408E14 #25148E #8E147D
monochromatic
#102305 #28580C #408E14 #58C41C #77E339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408E14#FFFFFF#000000##000000
##408E141.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: #408e14;
/* rgb */ color: rgb(64, 142, 20);
/* oklch */ color: oklch(57.5% 0.167 137.6);
Tailwind
colors: {
  custom: {
    50: '#7eb05f',
    500: '#408e14',
    950: '#000000',
  },
}
SCSS
$custom: #408e14;
$custom-light: #7eb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#408e14",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 98.361,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.16743,
    "h": 137.6
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#408E14
secondary
#923CC2
accent
#36F2AE
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #408E14

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

Preview Lab → · Contrast checker → · Palette generator →

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