#408119#408119

#408119 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 53.9% C 0.149 H 136.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#408119
RGBrgb(64, 129, 25)
HSLhsl(98, 68%, 30%)
HSVhsv(98, 81%, 51%)
CMYKcmyk(50.4%, 0%, 80.6%, 49.4%)
CIE-LABlab(48.08, -39.08, 46.06)
CIE-LCHlch(48.08, 60.41, 130.31°)
OKLaboklab(53.95% -0.1087 0.1024)
OKLCHoklch(53.95% 0.149 136.7)
XYZxyz(10.1398, 16.8600, 3.6395)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408119 #5A1981
analogous
#748119 #408119 #198126
triadic
#408119 #194081 #811940
tetradic
#408119 #197481 #5A1981 #812619
square
#408119 #197481 #5A1981 #812619
split-complementary
#408119 #261981 #811974
monochromatic
#0D1A05 #274E0F #408119 #59B423 #76D93B

Accessibility & contrast

On white

4.80
#408119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#408119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408119
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408119#FFFFFF#000000##FFFFFF
##4081191.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#3C7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408119;
/* rgb */ color: rgb(64, 129, 25);
/* oklch */ color: oklch(53.9% 0.149 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ca65f',
    500: '#408119',
    950: '#000000',
  },
}
SCSS
$custom: #408119;
$custom-light: #7ca65f;
$custom-dark: #000000;
JSON
{
  "hex": "#408119",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 97.5,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.14931,
    "h": 136.7
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#408119
secondary
#8941B5
accent
#3DEAAA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #408119

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

Preview Lab → · Contrast checker → · Palette generator →

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