#406119#406119

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

Color values

HEX#406119
RGBrgb(64, 97, 25)
HSLhsl(88, 59%, 24%)
HSVhsv(88, 74%, 38%)
CMYKcmyk(34%, 0%, 74.2%, 62%)
CIE-LABlab(37.32, -24.66, 35.48)
CIE-LCHlch(37.32, 43.21, 124.81°)
OKLaboklab(45.13% -0.0697 0.0802)
OKLCHoklch(45.13% 0.106 131)
XYZxyz(6.5645, 9.7093, 2.4477)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406119 #3A1961
analogous
#615E19 #406119 #1C6119
triadic
#406119 #194061 #611940
tetradic
#406119 #19615E #3A1961 #61191C
square
#406119 #19615E #3A1961 #61191C
split-complementary
#406119 #191C61 #5E1961
monochromatic
#101806 #20300C #406119 #609226 #80C232

Accessibility & contrast

On white

7.14
#406119 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #406119
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406119#FFFFFF#000000##FFFFFF
##4061191.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66590E
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#415D53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #406119;
/* rgb */ color: rgb(64, 97, 25);
/* oklch */ color: oklch(45.1% 0.106 131.0);
Tailwind
colors: {
  custom: {
    50: '#788e5b',
    500: '#406119',
    950: '#000000',
  },
}
SCSS
$custom: #406119;
$custom-light: #788e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#406119",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 25
  },
  "hsl": {
    "h": 87.5,
    "s": 59.016,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45128,
    "c": 0.10628,
    "h": 131
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#406119
secondary
#673F97
accent
#46E28D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406119

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

Preview Lab → · Contrast checker → · Palette generator →

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