#408419#408419

#408419 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.8% C 0.153 H 137.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#408419
RGBrgb(64, 132, 25)
HSLhsl(98, 68%, 31%)
HSVhsv(98, 81%, 52%)
CMYKcmyk(51.5%, 0%, 81.1%, 48.2%)
CIE-LABlab(49.08, -40.31, 47.01)
CIE-LCHlch(49.08, 61.92, 130.61°)
OKLaboklab(54.77% -0.112 0.1044)
OKLCHoklch(54.77% 0.153 137)
XYZxyz(10.5408, 17.6620, 3.7732)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408419 #5D1984
analogous
#758419 #408419 #198427
triadic
#408419 #194084 #841940
tetradic
#408419 #197584 #5D1984 #842719
square
#408419 #197584 #5D1984 #842719
split-complementary
#408419 #271984 #841975
monochromatic
#0E1D06 #27510F #408419 #59B723 #76DA3D

Accessibility & contrast

On white

4.63
#408419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #408419
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408419#FFFFFF#000000##FFFFFF
##4084191.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #408419;
/* rgb */ color: rgb(64, 132, 25);
/* oklch */ color: oklch(54.8% 0.153 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ca85f',
    500: '#408419',
    950: '#000000',
  },
}
SCSS
$custom: #408419;
$custom-light: #7ca85f;
$custom-dark: #000000;
JSON
{
  "hex": "#408419",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 98.131,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.15306,
    "h": 137
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#408419
secondary
#8C41B8
accent
#3DEBAC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408419

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

Preview Lab → · Contrast checker → · Palette generator →

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