#408013#408013

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

Color values

HEX#408013
RGBrgb(64, 128, 19)
HSLhsl(95, 74%, 29%)
HSVhsv(95, 85%, 50%)
CMYKcmyk(50%, 0%, 85.2%, 49.8%)
CIE-LABlab(47.72, -39.00, 47.56)
CIE-LCHlch(47.72, 61.51, 129.35°)
OKLaboklab(53.64% -0.1088 0.1046)
OKLCHoklch(53.64% 0.151 136.1)
XYZxyz(9.9508, 16.5747, 3.2909)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408013 #531380
analogous
#778013 #408013 #13801C
triadic
#408013 #134080 #801340
tetradic
#408013 #137780 #531380 #801C13
square
#408013 #137780 #531380 #801C13
split-complementary
#408013 #1C1380 #801377
monochromatic
#0D1B04 #254B0B #408013 #5BB51B #77E02D

Accessibility & contrast

On white

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

On black

4.31
#408013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##408013#FFFFFF#000000##FFFFFF
##4080131.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408013;
/* rgb */ color: rgb(64, 128, 19);
/* oklch */ color: oklch(53.6% 0.151 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ca55c',
    500: '#408013',
    950: '#000000',
  },
}
SCSS
$custom: #408013;
$custom-light: #7ca55c;
$custom-dark: #000000;
JSON
{
  "hex": "#408013",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 95.229,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53637,
    "c": 0.15093,
    "h": 136.1
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#408013
secondary
#8239B5
accent
#37F1A4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #408013

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

Preview Lab → · Contrast checker → · Palette generator →

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