#408617#408617

#408617 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.3% C 0.157 H 137.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#408617
RGBrgb(64, 134, 23)
HSLhsl(98, 71%, 31%)
HSVhsv(98, 83%, 53%)
CMYKcmyk(52.2%, 0%, 82.8%, 47.5%)
CIE-LABlab(49.74, -41.23, 48.24)
CIE-LCHlch(49.74, 63.46, 130.52°)
OKLaboklab(55.31% -0.1146 0.1066)
OKLCHoklch(55.31% 0.157 137.1)
XYZxyz(10.7938, 18.2013, 3.7549)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408617 #5D1786
analogous
#778617 #408617 #178625
triadic
#408617 #174086 #861740
tetradic
#408617 #177786 #5D1786 #862517
square
#408617 #177786 #5D1786 #862517
split-complementary
#408617 #251786 #861777
monochromatic
#0E1E05 #27520E #408617 #59BA20 #76DD3A

Accessibility & contrast

On white

4.53
#408617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#408617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408617
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408617#FFFFFF#000000##000000
##4086171.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#3C8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408617;
/* rgb */ color: rgb(64, 134, 23);
/* oklch */ color: oklch(55.3% 0.157 137.1);
Tailwind
colors: {
  custom: {
    50: '#7daa5f',
    500: '#408617',
    950: '#000000',
  },
}
SCSS
$custom: #408617;
$custom-light: #7daa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#408617",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 97.838,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.15652,
    "h": 137.1
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#408617
secondary
#8C3FBA
accent
#3AEDAB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408617

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

Preview Lab → · Contrast checker → · Palette generator →

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