#408014#408014

#408014 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.6% C 0.150 H 136.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#408014
RGBrgb(64, 128, 20)
HSLhsl(96, 73%, 29%)
HSVhsv(96, 84%, 50%)
CMYKcmyk(50%, 0%, 84.4%, 49.8%)
CIE-LABlab(47.72, -38.95, 47.28)
CIE-LCHlch(47.72, 61.26, 129.48°)
OKLaboklab(53.64% -0.1086 0.1042)
OKLCHoklch(53.64% 0.151 136.2)
XYZxyz(9.9595, 16.5782, 3.3368)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408014 #541480
analogous
#768014 #408014 #14801E
triadic
#408014 #144080 #801440
tetradic
#408014 #147680 #541480 #801E14
square
#408014 #147680 #541480 #801E14
split-complementary
#408014 #1E1480 #801476
monochromatic
#0D1A04 #264B0C #408014 #5AB51C #77DF30

Accessibility & contrast

On white

4.87
#408014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#408014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408014
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408014#FFFFFF#000000##FFFFFF
##4080141.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#3D7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #408014;
/* rgb */ color: rgb(64, 128, 20);
/* oklch */ color: oklch(53.6% 0.150 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ca55d',
    500: '#408014',
    950: '#000000',
  },
}
SCSS
$custom: #408014;
$custom-light: #7ca55d;
$custom-dark: #000000;
JSON
{
  "hex": "#408014",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 95.556,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.1505,
    "h": 136.2
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#408014
secondary
#833BB5
accent
#38F0A5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #408014

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

Preview Lab → · Contrast checker → · Palette generator →

#408014 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva