#406210#406210

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

Color values

HEX#406210
RGBrgb(64, 98, 16)
HSLhsl(85, 72%, 22%)
HSVhsv(85, 84%, 38%)
CMYKcmyk(34.7%, 0%, 83.7%, 61.6%)
CIE-LABlab(37.59, -25.75, 39.22)
CIE-LCHlch(37.59, 46.92, 123.29°)
OKLaboklab(45.34% -0.0734 0.0866)
OKLCHoklch(45.34% 0.113 130.3)
XYZxyz(6.5755, 9.8625, 2.0473)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406210 #321062
analogous
#625B10 #406210 #176210
triadic
#406210 #104062 #621040
tetradic
#406210 #10625B #321062 #621017
square
#406210 #10625B #321062 #621017
split-complementary
#406210 #101762 #5B1062
monochromatic
#111A04 #1E2D07 #406210 #629719 #85CB21

Accessibility & contrast

On white

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

On black

2.97
#406210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##406210#FFFFFF#000000##FFFFFF
##4062101.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#425D53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #406210;
/* rgb */ color: rgb(64, 98, 16);
/* oklch */ color: oklch(45.3% 0.113 130.3);
Tailwind
colors: {
  custom: {
    50: '#788f56',
    500: '#406210',
    950: '#000000',
  },
}
SCSS
$custom: #406210;
$custom-light: #788f56;
$custom-dark: #000000;
JSON
{
  "hex": "#406210",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 84.878,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.11348,
    "h": 130.3
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#406210
secondary
#5E339B
accent
#39EF84
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406210

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

Preview Lab → · Contrast checker → · Palette generator →

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