#408B14#408B14

#408B14 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.7% C 0.164 H 137.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#408B14
RGBrgb(64, 139, 20)
HSLhsl(98, 75%, 31%)
HSVhsv(98, 86%, 55%)
CMYKcmyk(54%, 0%, 85.6%, 45.5%)
CIE-LABlab(51.39, -43.36, 50.59)
CIE-LCHlch(51.39, 66.63, 130.60°)
OKLaboklab(56.66% -0.1204 0.1111)
OKLCHoklch(56.66% 0.164 137.3)
XYZxyz(11.4729, 19.6049, 3.8412)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B14 #5F148B
analogous
#7B8B14 #408B14 #148B23
triadic
#408B14 #14408B #8B1440
tetradic
#408B14 #147B8B #5F148B #8B2314
square
#408B14 #147B8B #5F148B #8B2314
split-complementary
#408B14 #23148B #8B147B
monochromatic
#0F2005 #27550C #408B14 #59C11C #76E237

Accessibility & contrast

On white

4.27
#408B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#408B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B14
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B14#FFFFFF#000000##000000
##408B141.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#3B8676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #408b14;
/* rgb */ color: rgb(64, 139, 20);
/* oklch */ color: oklch(56.7% 0.164 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ead5f',
    500: '#408b14',
    950: '#000000',
  },
}
SCSS
$custom: #408b14;
$custom-light: #7ead5f;
$custom-dark: #000000;
JSON
{
  "hex": "#408b14",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 97.815,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5666,
    "c": 0.16386,
    "h": 137.3
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#408B14
secondary
#8F3CBF
accent
#36F1AC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #408B14

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

Preview Lab → · Contrast checker → · Palette generator →

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