#406E1B#406E1B

#406E1B is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.7% C 0.123 H 134.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#406E1B
RGBrgb(64, 110, 27)
HSLhsl(93, 61%, 27%)
HSVhsv(93, 75%, 43%)
CMYKcmyk(41.8%, 0%, 75.5%, 56.9%)
CIE-LABlab(41.72, -30.70, 39.12)
CIE-LCHlch(41.72, 49.73, 128.13°)
OKLaboklab(48.73% -0.0859 0.0882)
OKLCHoklch(48.73% 0.123 134.3)
XYZxyz(7.8880, 12.3206, 2.9992)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E1B #491B6E
analogous
#6A6E1B #406E1B #1B6E20
triadic
#406E1B #1B406E #6E1B40
tetradic
#406E1B #1B6A6E #491B6E #6E201B
square
#406E1B #1B6A6E #491B6E #6E201B
split-complementary
#406E1B #201B6E #6E1B6A
monochromatic
#0E1906 #233D0F #406E1B #5D9F27 #79CE36

Accessibility & contrast

On white

6.06
#406E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#406E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E1B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E1B#FFFFFF#000000##FFFFFF
##406E1B1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650C
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#3F6A5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406e1b;
/* rgb */ color: rgb(64, 110, 27);
/* oklch */ color: oklch(48.7% 0.123 134.3);
Tailwind
colors: {
  custom: {
    50: '#79985d',
    500: '#406e1b',
    950: '#000000',
  },
}
SCSS
$custom: #406e1b;
$custom-light: #79985d;
$custom-dark: #000000;
JSON
{
  "hex": "#406e1b",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 93.253,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.12312,
    "h": 134.3
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#406E1B
secondary
#7842A3
accent
#44E49D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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