#408219#408219

#408219 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.151 H 136.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#408219
RGBrgb(64, 130, 25)
HSLhsl(98, 68%, 30%)
HSVhsv(98, 81%, 51%)
CMYKcmyk(50.8%, 0%, 80.8%, 49%)
CIE-LABlab(48.42, -39.49, 46.38)
CIE-LCHlch(48.42, 60.92, 130.42°)
OKLaboklab(54.22% -0.1098 0.103)
OKLCHoklch(54.22% 0.151 136.8)
XYZxyz(10.2721, 17.1247, 3.6836)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408219 #5B1982
analogous
#748219 #408219 #198226
triadic
#408219 #194082 #821940
tetradic
#408219 #197482 #5B1982 #822619
square
#408219 #197482 #5B1982 #822619
split-complementary
#408219 #261982 #821974
monochromatic
#0D1B05 #274F0F #408219 #59B523 #76D93C

Accessibility & contrast

On white

4.75
#408219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#408219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408219
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408219#FFFFFF#000000##FFFFFF
##4082191.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#3C7D6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #408219;
/* rgb */ color: rgb(64, 130, 25);
/* oklch */ color: oklch(54.2% 0.151 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ca75f',
    500: '#408219',
    950: '#000000',
  },
}
SCSS
$custom: #408219;
$custom-light: #7ca75f;
$custom-dark: #000000;
JSON
{
  "hex": "#408219",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 97.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.15056,
    "h": 136.8
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#408219
secondary
#8A41B6
accent
#3DEBAA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #408219

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

Preview Lab → · Contrast checker → · Palette generator →

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