#408F13#408F13

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

Color values

HEX#408F13
RGBrgb(64, 143, 19)
HSLhsl(98, 77%, 32%)
HSVhsv(98, 87%, 56%)
CMYKcmyk(55.2%, 0%, 86.7%, 43.9%)
CIE-LABlab(52.71, -44.95, 52.02)
CIE-LCHlch(52.71, 68.75, 130.83°)
OKLaboklab(57.75% -0.1247 0.114)
OKLCHoklch(57.75% 0.169 137.6)
XYZxyz(12.0539, 20.7810, 3.9919)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F13 #62138F
analogous
#7E8F13 #408F13 #138F24
triadic
#408F13 #13408F #8F1340
tetradic
#408F13 #137E8F #62138F #8F2413
square
#408F13 #137E8F #62138F #8F2413
split-complementary
#408F13 #24138F #8F137E
monochromatic
#102305 #28590C #408F13 #58C51A #77E538

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408F13#FFFFFF#000000##000000
##408F131.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: #408f13;
/* rgb */ color: rgb(64, 143, 19);
/* oklch */ color: oklch(57.7% 0.169 137.6);
Tailwind
colors: {
  custom: {
    50: '#7eb05f',
    500: '#408f13',
    950: '#000000',
  },
}
SCSS
$custom: #408f13;
$custom-light: #7eb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#408f13",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 98.226,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57748,
    "c": 0.16899,
    "h": 137.6
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#408F13
secondary
#923BC3
accent
#35F3AE
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1105
muted
#7C8079

Preview Lab

Preview with #408F13

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

Preview Lab → · Contrast checker → · Palette generator →

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