#406E13#406E13

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

Color values

HEX#406E13
RGBrgb(64, 110, 19)
HSLhsl(90, 71%, 25%)
HSVhsv(90, 83%, 43%)
CMYKcmyk(41.8%, 0%, 82.7%, 56.9%)
CIE-LABlab(41.67, -31.23, 42.01)
CIE-LCHlch(41.67, 52.35, 126.62°)
OKLaboklab(48.67% -0.088 0.0929)
OKLCHoklch(48.67% 0.128 133.4)
XYZxyz(7.8077, 12.2885, 2.5765)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E13 #41136E
analogous
#6D6E13 #406E13 #136E14
triadic
#406E13 #13406E #6E1340
tetradic
#406E13 #136D6E #41136E #6E1413
square
#406E13 #136D6E #41136E #6E1413
split-complementary
#406E13 #14136E #6E136D
monochromatic
#0F1A05 #223A0A #406E13 #5EA21C #7DD625

Accessibility & contrast

On white

6.07
#406E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406E13
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E13#FFFFFF#000000##FFFFFF
##406E131.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#40695D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406e13;
/* rgb */ color: rgb(64, 110, 19);
/* oklch */ color: oklch(48.7% 0.128 133.4);
Tailwind
colors: {
  custom: {
    50: '#7a9859',
    500: '#406e13',
    950: '#000000',
  },
}
SCSS
$custom: #406e13;
$custom-light: #7a9859;
$custom-dark: #000000;
JSON
{
  "hex": "#406e13",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 19
  },
  "hsl": {
    "h": 90.33,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48672,
    "c": 0.12796,
    "h": 133.4
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#406E13
secondary
#6F38A5
accent
#3AED95
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #406E13

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

Preview Lab → · Contrast checker → · Palette generator →

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