#406819#406819

#406819 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.1% C 0.116 H 132.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#406819
RGBrgb(64, 104, 25)
HSLhsl(90, 61%, 25%)
HSVhsv(90, 76%, 41%)
CMYKcmyk(38.5%, 0%, 76%, 59.2%)
CIE-LABlab(39.68, -28.06, 37.88)
CIE-LCHlch(39.68, 47.14, 126.53°)
OKLaboklab(47.06% -0.0789 0.0853)
OKLCHoklch(47.06% 0.116 132.8)
XYZxyz(7.2400, 11.0605, 2.6729)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406819 #411968
analogous
#676819 #406819 #19681A
triadic
#406819 #194068 #681940
tetradic
#406819 #196768 #411968 #681A19
square
#406819 #196768 #411968 #681A19
split-complementary
#406819 #1A1968 #681967
monochromatic
#0F1906 #22370D #406819 #5E9925 #7DCB31

Accessibility & contrast

On white

6.54
#406819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#406819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406819
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406819#FFFFFF#000000##FFFFFF
##4068191.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F0B
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#406459
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406819;
/* rgb */ color: rgb(64, 104, 25);
/* oklch */ color: oklch(47.1% 0.116 132.8);
Tailwind
colors: {
  custom: {
    50: '#79935b',
    500: '#406819',
    950: '#000000',
  },
}
SCSS
$custom: #406819;
$custom-light: #79935b;
$custom-dark: #000000;
JSON
{
  "hex": "#406819",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 90.38,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47058,
    "c": 0.11618,
    "h": 132.8
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#406819
secondary
#6F3F9E
accent
#43E495
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406819

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

Preview Lab → · Contrast checker → · Palette generator →

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