#406F19#406F19

#406F19 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 49.0% C 0.126 H 134.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#406F19
RGBrgb(64, 111, 25)
HSLhsl(93, 63%, 27%)
HSVhsv(93, 77%, 44%)
CMYKcmyk(42.3%, 0%, 77.5%, 56.5%)
CIE-LABlab(42.04, -31.30, 40.23)
CIE-LCHlch(42.04, 50.97, 127.89°)
OKLaboklab(48.99% -0.0877 0.0902)
OKLCHoklch(48.99% 0.126 134.2)
XYZxyz(7.9741, 12.5286, 2.9176)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F19 #48196F
analogous
#6B6F19 #406F19 #196F1D
triadic
#406F19 #19406F #6F1940
tetradic
#406F19 #196B6F #48196F #6F1D19
square
#406F19 #196B6F #48196F #6F1D19
split-complementary
#406F19 #1D196F #6F196B
monochromatic
#0E1906 #233D0E #406F19 #5DA124 #7AD132

Accessibility & contrast

On white

5.99
#406F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#406F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406F19
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F19#FFFFFF#000000##FFFFFF
##406F191.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746608
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#3F6A5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406f19;
/* rgb */ color: rgb(64, 111, 25);
/* oklch */ color: oklch(49.0% 0.126 134.2);
Tailwind
colors: {
  custom: {
    50: '#79995c',
    500: '#406f19',
    950: '#000000',
  },
}
SCSS
$custom: #406f19;
$custom-light: #79995c;
$custom-dark: #000000;
JSON
{
  "hex": "#406f19",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 92.791,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48989,
    "c": 0.12581,
    "h": 134.2
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#406F19
secondary
#773FA4
accent
#42E69C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #406F19

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

Preview Lab → · Contrast checker → · Palette generator →

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