#408714#408714

#408714 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.6% C 0.159 H 136.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#408714
RGBrgb(64, 135, 20)
HSLhsl(97, 74%, 30%)
HSVhsv(97, 85%, 53%)
CMYKcmyk(52.6%, 0%, 85.2%, 47.1%)
CIE-LABlab(50.06, -41.78, 49.40)
CIE-LCHlch(50.06, 64.70, 130.23°)
OKLaboklab(55.56% -0.1162 0.1086)
OKLCHoklch(55.56% 0.159 136.9)
XYZxyz(10.9043, 18.4676, 3.6517)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408714 #5B1487
analogous
#7A8714 #408714 #148721
triadic
#408714 #144087 #871440
tetradic
#408714 #147A87 #5B1487 #872114
square
#408714 #147A87 #5B1487 #872114
split-complementary
#408714 #211487 #87147A
monochromatic
#0D1C04 #27520C #408714 #59BC1C #76E134

Accessibility & contrast

On white

4.47
#408714 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#408714 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408714
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408714#FFFFFF#000000##000000
##4087141.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#3C8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #408714;
/* rgb */ color: rgb(64, 135, 20);
/* oklch */ color: oklch(55.6% 0.159 136.9);
Tailwind
colors: {
  custom: {
    50: '#7dab5e',
    500: '#408714',
    950: '#000000',
  },
}
SCSS
$custom: #408714;
$custom-light: #7dab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#408714",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 20
  },
  "hsl": {
    "h": 97.043,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.15906,
    "h": 136.9
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#408714
secondary
#8A3BBB
accent
#37F1AA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408714

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

Preview Lab → · Contrast checker → · Palette generator →

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