#406412#406412

#406412 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 45.9% C 0.115 H 131.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#406412
RGBrgb(64, 100, 18)
HSLhsl(86, 69%, 23%)
HSVhsv(86, 82%, 39%)
CMYKcmyk(36%, 0%, 82%, 60.8%)
CIE-LABlab(38.28, -26.61, 39.18)
CIE-LCHlch(38.28, 47.36, 124.18°)
OKLaboklab(45.9% -0.0756 0.0868)
OKLCHoklch(45.9% 0.115 131)
XYZxyz(6.7807, 10.2478, 2.1929)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406412 #361264
analogous
#645F12 #406412 #176412
triadic
#406412 #124064 #641240
tetradic
#406412 #12645F #361264 #641217
square
#406412 #12645F #361264 #641217
split-complementary
#406412 #121764 #5F1264
monochromatic
#111A05 #1F3009 #406412 #61981B #82CC25

Accessibility & contrast

On white

6.89
#406412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#406412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406412
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406412#FFFFFF#000000##FFFFFF
##4064121.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#415F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406412;
/* rgb */ color: rgb(64, 100, 18);
/* oklch */ color: oklch(45.9% 0.115 131.0);
Tailwind
colors: {
  custom: {
    50: '#799057',
    500: '#406412',
    950: '#000000',
  },
}
SCSS
$custom: #406412;
$custom-light: #799057;
$custom-dark: #000000;
JSON
{
  "hex": "#406412",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 86.341,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45902,
    "c": 0.11509,
    "h": 131
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#406412
secondary
#63369C
accent
#3BEC89
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406412

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

Preview Lab → · Contrast checker → · Palette generator →

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