#406919#406919

#406919 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.3% C 0.118 H 133.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#406919
RGBrgb(64, 105, 25)
HSLhsl(91, 62%, 25%)
HSVhsv(91, 76%, 41%)
CMYKcmyk(39%, 0%, 76.2%, 58.8%)
CIE-LABlab(40.02, -28.53, 38.22)
CIE-LCHlch(40.02, 47.69, 126.74°)
OKLaboklab(47.33% -0.0802 0.086)
OKLCHoklch(47.33% 0.118 133)
XYZxyz(7.3413, 11.2630, 2.7067)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406919 #421969
analogous
#686919 #406919 #19691A
triadic
#406919 #194069 #691940
tetradic
#406919 #196869 #421969 #691A19
square
#406919 #196869 #421969 #691A19
split-complementary
#406919 #1A1969 #691968
monochromatic
#0F1906 #22380D #406919 #5E9A25 #7CCC31

Accessibility & contrast

On white

6.46
#406919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#406919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406919
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406919#FFFFFF#000000##FFFFFF
##4069191.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E600B
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#406559
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #406919;
/* rgb */ color: rgb(64, 105, 25);
/* oklch */ color: oklch(47.3% 0.118 133.0);
Tailwind
colors: {
  custom: {
    50: '#79945c',
    500: '#406919',
    950: '#000000',
  },
}
SCSS
$custom: #406919;
$custom-light: #79945c;
$custom-dark: #000000;
JSON
{
  "hex": "#406919",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 90.75,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47334,
    "c": 0.11757,
    "h": 133
  },
  "luminance": 0.11263
}

Semantic roles & 50–950 ramp

primary
#406919
secondary
#703F9F
accent
#43E596
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406919

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

Preview Lab → · Contrast checker → · Palette generator →

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