#406B13#406B13

#406B13 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.8% C 0.124 H 132.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#406B13
RGBrgb(64, 107, 19)
HSLhsl(89, 70%, 25%)
HSVhsv(89, 82%, 42%)
CMYKcmyk(40.2%, 0%, 82.2%, 58%)
CIE-LABlab(40.66, -29.86, 41.07)
CIE-LCHlch(40.66, 50.77, 126.02°)
OKLaboklab(47.84% -0.0843 0.0909)
OKLCHoklch(47.84% 0.124 132.8)
XYZxyz(7.4895, 11.6521, 2.4704)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406B13 #3E136B
analogous
#6B6A13 #406B13 #146B13
triadic
#406B13 #13406B #6B1340
tetradic
#406B13 #136B6A #3E136B #6B1314
square
#406B13 #136B6A #3E136B #6B1314
split-complementary
#406B13 #13146B #6A136B
monochromatic
#101A05 #21370A #406B13 #5F9F1C #7ED325

Accessibility & contrast

On white

6.31
#406B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#406B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406B13
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406B13#FFFFFF#000000##FFFFFF
##406B131.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#40665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406b13;
/* rgb */ color: rgb(64, 107, 19);
/* oklch */ color: oklch(47.8% 0.124 132.8);
Tailwind
colors: {
  custom: {
    50: '#799559',
    500: '#406b13',
    950: '#000000',
  },
}
SCSS
$custom: #406b13;
$custom-light: #799559;
$custom-dark: #000000;
JSON
{
  "hex": "#406b13",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 89.318,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.12398,
    "h": 132.8
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#406B13
secondary
#6C38A2
accent
#3BED92
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406B13

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

Preview Lab → · Contrast checker → · Palette generator →

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