#406319#406319

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

Color values

HEX#406319
RGBrgb(64, 99, 25)
HSLhsl(88, 60%, 24%)
HSVhsv(88, 75%, 39%)
CMYKcmyk(35.4%, 0%, 74.7%, 61.2%)
CIE-LABlab(37.99, -25.65, 36.17)
CIE-LCHlch(37.99, 44.34, 125.34°)
OKLaboklab(45.68% -0.0724 0.0817)
OKLCHoklch(45.68% 0.109 131.6)
XYZxyz(6.7516, 10.0836, 2.5101)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406319 #3C1963
analogous
#636119 #406319 #1B6319
triadic
#406319 #194063 #631940
tetradic
#406319 #196361 #3C1963 #63191B
square
#406319 #196361 #3C1963 #63191B
split-complementary
#406319 #191B63 #611963
monochromatic
#101806 #20320D #406319 #609425 #7FC532

Accessibility & contrast

On white

6.96
#406319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#406319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406319
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406319#FFFFFF#000000##FFFFFF
##4063191.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0D
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#415F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #406319;
/* rgb */ color: rgb(64, 99, 25);
/* oklch */ color: oklch(45.7% 0.109 131.6);
Tailwind
colors: {
  custom: {
    50: '#788f5b',
    500: '#406319',
    950: '#000000',
  },
}
SCSS
$custom: #406319;
$custom-light: #788f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#406319",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 88.378,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.10913,
    "h": 131.6
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#406319
secondary
#693F99
accent
#45E390
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406319

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

Preview Lab → · Contrast checker → · Palette generator →

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