#406F13#406F13

#406F13 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.129 H 133.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#406F13
RGBrgb(64, 111, 19)
HSLhsl(91, 71%, 25%)
HSVhsv(91, 83%, 44%)
CMYKcmyk(42.3%, 0%, 82.9%, 56.5%)
CIE-LABlab(42.01, -31.68, 42.33)
CIE-LCHlch(42.01, 52.87, 126.81°)
OKLaboklab(48.95% -0.0892 0.0936)
OKLCHoklch(48.95% 0.129 133.6)
XYZxyz(7.9162, 12.5055, 2.6127)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F13 #42136F
analogous
#6E6F13 #406F13 #136F14
triadic
#406F13 #13406F #6F1340
tetradic
#406F13 #136E6F #42136F #6F1413
square
#406F13 #136E6F #42136F #6F1413
split-complementary
#406F13 #14136F #6F136E
monochromatic
#0F1A04 #223B0A #406F13 #5EA31C #7CD825

Accessibility & contrast

On white

6.00
#406F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#406F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406F13
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F13#FFFFFF#000000##FFFFFF
##406F131.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#406A5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406f13;
/* rgb */ color: rgb(64, 111, 19);
/* oklch */ color: oklch(48.9% 0.129 133.6);
Tailwind
colors: {
  custom: {
    50: '#7a995a',
    500: '#406f13',
    950: '#000000',
  },
}
SCSS
$custom: #406f13;
$custom-light: #7a995a;
$custom-dark: #000000;
JSON
{
  "hex": "#406f13",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 90.652,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.12928,
    "h": 133.6
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#406F13
secondary
#7038A6
accent
#3AEE96
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #406F13

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

Preview Lab → · Contrast checker → · Palette generator →

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