#406113#406113

#406113 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.1% C 0.110 H 130.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#406113
RGBrgb(64, 97, 19)
HSLhsl(85, 67%, 23%)
HSVhsv(85, 80%, 38%)
CMYKcmyk(34%, 0%, 80.4%, 62%)
CIE-LABlab(37.27, -25.09, 37.85)
CIE-LCHlch(37.27, 45.41, 123.53°)
OKLaboklab(45.08% -0.0714 0.0842)
OKLCHoklch(45.08% 0.11 130.3)
XYZxyz(6.5066, 9.6862, 2.1428)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406113 #341361
analogous
#615B13 #406113 #196113
triadic
#406113 #134061 #611340
tetradic
#406113 #13615B #341361 #611319
square
#406113 #13615B #341361 #611319
split-complementary
#406113 #131961 #5B1361
monochromatic
#111A05 #1E2E09 #406113 #62941D #84C727

Accessibility & contrast

On white

7.15
#406113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#406113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406113
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406113#FFFFFF#000000##FFFFFF
##4061131.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665903
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#425C52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #406113;
/* rgb */ color: rgb(64, 97, 19);
/* oklch */ color: oklch(45.1% 0.110 130.3);
Tailwind
colors: {
  custom: {
    50: '#788e57',
    500: '#406113',
    950: '#000000',
  },
}
SCSS
$custom: #406113;
$custom-light: #788e57;
$custom-dark: #000000;
JSON
{
  "hex": "#406113",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 19
  },
  "hsl": {
    "h": 85.385,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.11038,
    "h": 130.3
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#406113
secondary
#603799
accent
#3EEA87
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406113

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

Preview Lab → · Contrast checker → · Palette generator →

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