#406115#406115

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

Color values

HEX#406115
RGBrgb(64, 97, 21)
HSLhsl(86, 64%, 23%)
HSVhsv(86, 78%, 38%)
CMYKcmyk(34%, 0%, 78.4%, 62%)
CIE-LABlab(37.29, -24.96, 37.10)
CIE-LCHlch(37.29, 44.71, 123.93°)
OKLaboklab(45.1% -0.0708 0.083)
OKLCHoklch(45.1% 0.109 130.5)
XYZxyz(6.5244, 9.6933, 2.2366)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406115 #361561
analogous
#615C15 #406115 #1A6115
triadic
#406115 #154061 #611540
tetradic
#406115 #15615C #361561 #61151A
square
#406115 #15615C #361561 #61151A
split-complementary
#406115 #151A61 #5C1561
monochromatic
#111905 #1F2F0A #406115 #619320 #82C62B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406115#FFFFFF#000000##FFFFFF
##4061151.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)
#665906
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#425D52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #406115;
/* rgb */ color: rgb(64, 97, 21);
/* oklch */ color: oklch(45.1% 0.109 130.5);
Tailwind
colors: {
  custom: {
    50: '#788e58',
    500: '#406115',
    950: '#000000',
  },
}
SCSS
$custom: #406115;
$custom-light: #788e58;
$custom-dark: #000000;
JSON
{
  "hex": "#406115",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 86.053,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45095,
    "c": 0.1091,
    "h": 130.5
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#406115
secondary
#633A98
accent
#40E789
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406115

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

Preview Lab → · Contrast checker → · Palette generator →

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