#406F14#406F14

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

Color values

HEX#406F14
RGBrgb(64, 111, 20)
HSLhsl(91, 69%, 26%)
HSVhsv(91, 82%, 44%)
CMYKcmyk(42.3%, 0%, 82%, 56.5%)
CIE-LABlab(42.01, -31.63, 42.00)
CIE-LCHlch(42.01, 52.58, 126.98°)
OKLaboklab(48.96% -0.089 0.0931)
OKLCHoklch(48.96% 0.129 133.7)
XYZxyz(7.9249, 12.5090, 2.6586)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F14 #43146F
analogous
#6D6F14 #406F14 #146F15
triadic
#406F14 #14406F #6F1440
tetradic
#406F14 #146D6F #43146F #6F1514
square
#406F14 #146D6F #43146F #6F1514
split-complementary
#406F14 #15146F #6F146D
monochromatic
#0F1A05 #223B0B #406F14 #5EA31D #7CD727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406F14#FFFFFF#000000##FFFFFF
##406F141.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)
#6D621E
Tritanopia (blue-blind)
#406A5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406f14;
/* rgb */ color: rgb(64, 111, 20);
/* oklch */ color: oklch(49.0% 0.129 133.7);
Tailwind
colors: {
  custom: {
    50: '#7a995a',
    500: '#406f14',
    950: '#000000',
  },
}
SCSS
$custom: #406f14;
$custom-light: #7a995a;
$custom-dark: #000000;
JSON
{
  "hex": "#406f14",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 90.989,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48955,
    "c": 0.12875,
    "h": 133.7
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#406F14
secondary
#7139A6
accent
#3CEC97
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #406F14

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

Preview Lab → · Contrast checker → · Palette generator →

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