#408F14#408F14

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

Color values

HEX#408F14
RGBrgb(64, 143, 20)
HSLhsl(99, 75%, 32%)
HSVhsv(99, 86%, 56%)
CMYKcmyk(55.2%, 0%, 86%, 43.9%)
CIE-LABlab(52.71, -44.91, 51.78)
CIE-LCHlch(52.71, 68.54, 130.94°)
OKLaboklab(57.75% -0.1246 0.1136)
OKLCHoklch(57.75% 0.169 137.6)
XYZxyz(12.0627, 20.7845, 4.0378)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F14 #63148F
analogous
#7D8F14 #408F14 #148F26
triadic
#408F14 #14408F #8F1440
tetradic
#408F14 #147D8F #63148F #8F2614
square
#408F14 #147D8F #63148F #8F2614
split-complementary
#408F14 #26148F #8F147D
monochromatic
#102405 #28590C #408F14 #58C51C #77E33A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408F14#FFFFFF#000000##000000
##408F141.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)
#8A7B24
Tritanopia (blue-blind)
#3A8A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #408f14;
/* rgb */ color: rgb(64, 143, 20);
/* oklch */ color: oklch(57.8% 0.169 137.6);
Tailwind
colors: {
  custom: {
    50: '#7eb05f',
    500: '#408f14',
    950: '#000000',
  },
}
SCSS
$custom: #408f14;
$custom-light: #7eb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#408f14",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 98.537,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57753,
    "c": 0.16861,
    "h": 137.6
  },
  "luminance": 0.20785
}

Semantic roles & 50–950 ramp

primary
#408F14
secondary
#933CC3
accent
#36F2AF
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1105
muted
#7C8079

Preview Lab

Preview with #408F14

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

Preview Lab → · Contrast checker → · Palette generator →

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