#406C14#406C14

#406C14 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.1% C 0.125 H 133.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#406C14
RGBrgb(64, 108, 20)
HSLhsl(90, 69%, 25%)
HSVhsv(90, 81%, 42%)
CMYKcmyk(40.7%, 0%, 81.5%, 57.6%)
CIE-LABlab(41.00, -30.26, 41.05)
CIE-LCHlch(41.00, 50.99, 126.40°)
OKLaboklab(48.13% -0.0853 0.0911)
OKLCHoklch(48.13% 0.125 133.1)
XYZxyz(7.6031, 11.8653, 2.5513)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406C14 #40146C
analogous
#6C6C14 #406C14 #146C14
triadic
#406C14 #14406C #6C1440
tetradic
#406C14 #146C6C #40146C #6C1414
square
#406C14 #146C6C #40146C #6C1414
split-complementary
#406C14 #14146C #6C146C
monochromatic
#0F1A05 #21380A #406C14 #5FA01E #7DD327

Accessibility & contrast

On white

6.23
#406C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#406C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406C14
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406C14#FFFFFF#000000##FFFFFF
##406C141.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#40675C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #406c14;
/* rgb */ color: rgb(64, 108, 20);
/* oklch */ color: oklch(48.1% 0.125 133.1);
Tailwind
colors: {
  custom: {
    50: '#79965a',
    500: '#406c14',
    950: '#000000',
  },
}
SCSS
$custom: #406c14;
$custom-light: #79965a;
$custom-dark: #000000;
JSON
{
  "hex": "#406c14",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.12475,
    "h": 133.1
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#406C14
secondary
#6E39A3
accent
#3CEC94
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406C14

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

Preview Lab → · Contrast checker → · Palette generator →

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