#408F16#408F16

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

Color values

HEX#408F16
RGBrgb(64, 143, 22)
HSLhsl(99, 73%, 32%)
HSVhsv(99, 85%, 56%)
CMYKcmyk(55.2%, 0%, 84.6%, 43.9%)
CIE-LABlab(52.72, -44.81, 51.26)
CIE-LCHlch(52.72, 68.08, 131.16°)
OKLaboklab(57.76% -0.1242 0.1128)
OKLCHoklch(57.76% 0.168 137.8)
XYZxyz(12.0812, 20.7919, 4.1355)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408F16 #65168F
analogous
#7C8F16 #408F16 #168F29
triadic
#408F16 #16408F #8F1640
tetradic
#408F16 #167C8F #65168F #8F2916
square
#408F16 #167C8F #65168F #8F2916
split-complementary
#408F16 #29168F #8F167C
monochromatic
#112506 #285A0E #408F16 #58C41E #77E13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #408f16;
/* rgb */ color: rgb(64, 143, 22);
/* oklch */ color: oklch(57.8% 0.168 137.8);
Tailwind
colors: {
  custom: {
    50: '#7eb060',
    500: '#408f16',
    950: '#000000',
  },
}
SCSS
$custom: #408f16;
$custom-light: #7eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#408f16",
  "rgb": {
    "r": 64,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 99.174,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.16781,
    "h": 137.8
  },
  "luminance": 0.20793
}

Semantic roles & 50–950 ramp

primary
#408F16
secondary
#943FC1
accent
#38F0B0
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #408F16

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

Preview Lab → · Contrast checker → · Palette generator →

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