#408019#408019

#408019 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.7% C 0.148 H 136.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#408019
RGBrgb(64, 128, 25)
HSLhsl(97, 67%, 30%)
HSVhsv(97, 80%, 50%)
CMYKcmyk(50%, 0%, 80.5%, 49.8%)
CIE-LABlab(47.75, -38.67, 45.75)
CIE-LCHlch(47.75, 59.90, 130.21°)
OKLaboklab(53.67% -0.1076 0.1017)
OKLCHoklch(53.67% 0.148 136.6)
XYZxyz(10.0087, 16.5978, 3.5958)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408019 #591980
analogous
#738019 #408019 #198026
triadic
#408019 #194080 #801940
tetradic
#408019 #197380 #591980 #802619
square
#408019 #197380 #591980 #802619
split-complementary
#408019 #261980 #801973
monochromatic
#0D1A05 #264D0F #408019 #5AB323 #77D93B

Accessibility & contrast

On white

4.86
#408019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#408019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408019
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408019#FFFFFF#000000##FFFFFF
##4080191.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408019;
/* rgb */ color: rgb(64, 128, 25);
/* oklch */ color: oklch(53.7% 0.148 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ca55f',
    500: '#408019',
    950: '#000000',
  },
}
SCSS
$custom: #408019;
$custom-light: #7ca55f;
$custom-dark: #000000;
JSON
{
  "hex": "#408019",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 97.282,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.14805,
    "h": 136.6
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#408019
secondary
#8841B4
accent
#3EEAA9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #408019

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

Preview Lab → · Contrast checker → · Palette generator →

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