#406316#406316

#406316 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.7% C 0.111 H 131.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#406316
RGBrgb(64, 99, 22)
HSLhsl(87, 64%, 24%)
HSVhsv(87, 78%, 39%)
CMYKcmyk(35.4%, 0%, 77.8%, 61.2%)
CIE-LABlab(37.97, -25.87, 37.38)
CIE-LCHlch(37.97, 45.46, 124.69°)
OKLaboklab(45.65% -0.0732 0.0837)
OKLCHoklch(45.65% 0.111 131.2)
XYZxyz(6.7210, 10.0714, 2.3488)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406316 #391663
analogous
#635F16 #406316 #196316
triadic
#406316 #164063 #631640
tetradic
#406316 #16635F #391663 #631619
square
#406316 #16635F #391663 #631619
split-complementary
#406316 #161963 #5F1663
monochromatic
#101906 #20310B #406316 #609521 #81C72C

Accessibility & contrast

On white

6.97
#406316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#406316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406316
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406316#FFFFFF#000000##FFFFFF
##4063161.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B07
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#415F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #406316;
/* rgb */ color: rgb(64, 99, 22);
/* oklch */ color: oklch(45.7% 0.111 131.2);
Tailwind
colors: {
  custom: {
    50: '#788f59',
    500: '#406316',
    950: '#000000',
  },
}
SCSS
$custom: #406316;
$custom-light: #788f59;
$custom-dark: #000000;
JSON
{
  "hex": "#406316",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 87.273,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45654,
    "c": 0.11123,
    "h": 131.2
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#406316
secondary
#663B9A
accent
#41E78C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406316

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

Preview Lab → · Contrast checker → · Palette generator →

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