#406214#406214

#406214 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.4% C 0.111 H 130.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#406214
RGBrgb(64, 98, 20)
HSLhsl(86, 66%, 23%)
HSVhsv(86, 80%, 38%)
CMYKcmyk(34.7%, 0%, 79.6%, 61.6%)
CIE-LABlab(37.62, -25.51, 37.81)
CIE-LCHlch(37.62, 45.61, 124.01°)
OKLaboklab(45.36% -0.0724 0.0843)
OKLCHoklch(45.36% 0.111 130.7)
XYZxyz(6.6083, 9.8756, 2.2197)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406214 #361462
analogous
#625D14 #406214 #196214
triadic
#406214 #144062 #621440
tetradic
#406214 #14625D #361462 #621419
square
#406214 #14625D #361462 #621419
split-complementary
#406214 #141962 #5D1462
monochromatic
#111905 #1F2F0A #406214 #61951E #82C829

Accessibility & contrast

On white

7.06
#406214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#406214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406214
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406214#FFFFFF#000000##FFFFFF
##4062141.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A04
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#425E53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #406214;
/* rgb */ color: rgb(64, 98, 20);
/* oklch */ color: oklch(45.4% 0.111 130.7);
Tailwind
colors: {
  custom: {
    50: '#788f58',
    500: '#406214',
    950: '#000000',
  },
}
SCSS
$custom: #406214;
$custom-light: #788f58;
$custom-dark: #000000;
JSON
{
  "hex": "#406214",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 86.154,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45363,
    "c": 0.11114,
    "h": 130.7
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#406214
secondary
#633899
accent
#3FE989
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406214

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

Preview Lab → · Contrast checker → · Palette generator →

#406214 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva