#408415#408415

#408415 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.155 H 136.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#408415
RGBrgb(64, 132, 21)
HSLhsl(97, 73%, 30%)
HSVhsv(97, 84%, 52%)
CMYKcmyk(51.5%, 0%, 84.1%, 48.2%)
CIE-LABlab(49.06, -40.53, 48.21)
CIE-LCHlch(49.06, 62.99, 130.05°)
OKLaboklab(54.75% -0.1128 0.1063)
OKLCHoklch(54.75% 0.155 136.7)
XYZxyz(10.5007, 17.6459, 3.5620)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408415 #591584
analogous
#778415 #408415 #158422
triadic
#408415 #154084 #841540
tetradic
#408415 #157784 #591584 #842215
square
#408415 #157784 #591584 #842215
split-complementary
#408415 #221584 #841577
monochromatic
#0D1A04 #264F0D #408415 #5AB91D #77DF35

Accessibility & contrast

On white

4.64
#408415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#408415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408415
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408415#FFFFFF#000000##FFFFFF
##4084151.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#3C7F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #408415;
/* rgb */ color: rgb(64, 132, 21);
/* oklch */ color: oklch(54.7% 0.155 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ca85e',
    500: '#408415',
    950: '#000000',
  },
}
SCSS
$custom: #408415;
$custom-light: #7ca85e;
$custom-dark: #000000;
JSON
{
  "hex": "#408415",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 96.757,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.15498,
    "h": 136.7
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#408415
secondary
#883CB9
accent
#39EFA8
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408415

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

Preview Lab → · Contrast checker → · Palette generator →

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