#408914#408914

#408914 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.1% C 0.161 H 137.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#408914
RGBrgb(64, 137, 20)
HSLhsl(97, 75%, 31%)
HSVhsv(97, 85%, 54%)
CMYKcmyk(53.3%, 0%, 85.4%, 46.3%)
CIE-LABlab(50.72, -42.57, 49.99)
CIE-LCHlch(50.72, 65.67, 130.42°)
OKLaboklab(56.11% -0.1183 0.1099)
OKLCHoklch(56.11% 0.161 137.1)
XYZxyz(11.1859, 19.0310, 3.7456)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408914 #5D1489
analogous
#7A8914 #408914 #148923
triadic
#408914 #144089 #891440
tetradic
#408914 #147A89 #5D1489 #892314
square
#408914 #147A89 #5D1489 #892314
split-complementary
#408914 #231489 #89147A
monochromatic
#0E1E04 #27540C #408914 #59BE1C #76E236

Accessibility & contrast

On white

4.37
#408914 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#408914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408914
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408914#FFFFFF#000000##000000
##4089141.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#847723
Tritanopia (blue-blind)
#3B8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #408914;
/* rgb */ color: rgb(64, 137, 20);
/* oklch */ color: oklch(56.1% 0.161 137.1);
Tailwind
colors: {
  custom: {
    50: '#7dac5e',
    500: '#408914',
    950: '#000000',
  },
}
SCSS
$custom: #408914;
$custom-light: #7dac5e;
$custom-dark: #000000;
JSON
{
  "hex": "#408914",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 20
  },
  "hsl": {
    "h": 97.436,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.16147,
    "h": 137.1
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

primary
#408914
secondary
#8C3CBD
accent
#37F1AB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #408914

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

Preview Lab → · Contrast checker → · Palette generator →

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