#406313#406313

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

Color values

HEX#406313
RGBrgb(64, 99, 19)
HSLhsl(86, 68%, 23%)
HSVhsv(86, 81%, 39%)
CMYKcmyk(35.4%, 0%, 80.8%, 61.2%)
CIE-LABlab(37.95, -26.07, 38.50)
CIE-LCHlch(37.95, 46.50, 124.10°)
OKLaboklab(45.63% -0.074 0.0856)
OKLCHoklch(45.63% 0.113 130.9)
XYZxyz(6.6937, 10.0604, 2.2052)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406313 #361363
analogous
#635E13 #406313 #186313
triadic
#406313 #134063 #631340
tetradic
#406313 #13635E #361363 #631318
square
#406313 #13635E #361363 #631318
split-complementary
#406313 #131863 #5E1363
monochromatic
#111A05 #1F3009 #406313 #61961D #82CA27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406313#FFFFFF#000000##FFFFFF
##4063131.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)
#685B02
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#415E54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #406313;
/* rgb */ color: rgb(64, 99, 19);
/* oklch */ color: oklch(45.6% 0.113 130.9);
Tailwind
colors: {
  custom: {
    50: '#788f58',
    500: '#406313',
    950: '#000000',
  },
}
SCSS
$custom: #406313;
$custom-light: #788f58;
$custom-dark: #000000;
JSON
{
  "hex": "#406313",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 86.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.11313,
    "h": 130.9
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#406313
secondary
#63379B
accent
#3DEB89
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406313

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

Preview Lab → · Contrast checker → · Palette generator →

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