#408E16#408E16

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

Color values

HEX#408E16
RGBrgb(64, 142, 22)
HSLhsl(99, 73%, 32%)
HSVhsv(99, 85%, 56%)
CMYKcmyk(54.9%, 0%, 84.5%, 44.3%)
CIE-LABlab(52.39, -44.43, 50.96)
CIE-LCHlch(52.39, 67.61, 131.08°)
OKLaboklab(57.49% -0.1232 0.1122)
OKLCHoklch(57.49% 0.167 137.7)
XYZxyz(11.9318, 20.4930, 4.0857)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408E16 #64168E
analogous
#7C8E16 #408E16 #168E28
triadic
#408E16 #16408E #8E1640
tetradic
#408E16 #167C8E #64168E #8E2816
square
#408E16 #167C8E #64168E #8E2816
split-complementary
#408E16 #28168E #8E167C
monochromatic
#102406 #28590E #408E16 #58C31E #77E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408E16#FFFFFF#000000##000000
##408E161.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)
#897B25
Tritanopia (blue-blind)
#3A8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #408e16;
/* rgb */ color: rgb(64, 142, 22);
/* oklch */ color: oklch(57.5% 0.167 137.7);
Tailwind
colors: {
  custom: {
    50: '#7eb060',
    500: '#408e16',
    950: '#000000',
  },
}
SCSS
$custom: #408e16;
$custom-light: #7eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#408e16",
  "rgb": {
    "r": 64,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 99,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.16662,
    "h": 137.7
  },
  "luminance": 0.20494
}

Semantic roles & 50–950 ramp

primary
#408E16
secondary
#933FC1
accent
#38F0AF
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #408E16

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

Preview Lab → · Contrast checker → · Palette generator →

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