#406B19#406B19

#406B19 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.9% C 0.120 H 133.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#406B19
RGBrgb(64, 107, 25)
HSLhsl(91, 62%, 26%)
HSVhsv(91, 77%, 42%)
CMYKcmyk(40.2%, 0%, 76.6%, 58%)
CIE-LABlab(40.70, -29.47, 38.89)
CIE-LCHlch(40.70, 48.79, 127.15°)
OKLaboklab(47.89% -0.0827 0.0874)
OKLCHoklch(47.89% 0.12 133.4)
XYZxyz(7.5474, 11.6752, 2.7754)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406B19 #44196B
analogous
#696B19 #406B19 #196B1B
triadic
#406B19 #19406B #6B1940
tetradic
#406B19 #19696B #44196B #6B1B19
square
#406B19 #19696B #44196B #6B1B19
split-complementary
#406B19 #1B196B #6B1969
monochromatic
#0F1906 #22390D #406B19 #5E9D25 #7BCE30

Accessibility & contrast

On white

6.30
#406B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#406B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406B19
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406B19#FFFFFF#000000##FFFFFF
##406B191.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70620A
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#40675B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406b19;
/* rgb */ color: rgb(64, 107, 25);
/* oklch */ color: oklch(47.9% 0.120 133.4);
Tailwind
colors: {
  custom: {
    50: '#79955c',
    500: '#406b19',
    950: '#000000',
  },
}
SCSS
$custom: #406b19;
$custom-light: #79955c;
$custom-dark: #000000;
JSON
{
  "hex": "#406b19",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 25
  },
  "hsl": {
    "h": 91.463,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.12034,
    "h": 133.4
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#406B19
secondary
#723FA1
accent
#43E598
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406B19

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

Preview Lab → · Contrast checker → · Palette generator →

#406B19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva