#406913#406913

#406913 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.3% C 0.121 H 132.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#406913
RGBrgb(64, 105, 19)
HSLhsl(89, 69%, 24%)
HSVhsv(89, 82%, 41%)
CMYKcmyk(39%, 0%, 81.9%, 58.8%)
CIE-LABlab(39.98, -28.93, 40.43)
CIE-LCHlch(39.98, 49.71, 125.58°)
OKLaboklab(47.29% -0.0817 0.0896)
OKLCHoklch(47.29% 0.121 132.4)
XYZxyz(7.2834, 11.2398, 2.4017)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406913 #3C1369
analogous
#696713 #406913 #156913
triadic
#406913 #134069 #691340
tetradic
#406913 #136967 #3C1369 #691315
square
#406913 #136967 #3C1369 #691315
split-complementary
#406913 #131569 #671369
monochromatic
#101A05 #20350A #406913 #609D1C #7FD126

Accessibility & contrast

On white

6.47
#406913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#406913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406913
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406913#FFFFFF#000000##FFFFFF
##4069131.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#416459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #406913;
/* rgb */ color: rgb(64, 105, 19);
/* oklch */ color: oklch(47.3% 0.121 132.4);
Tailwind
colors: {
  custom: {
    50: '#799459',
    500: '#406913',
    950: '#000000',
  },
}
SCSS
$custom: #406913;
$custom-light: #799459;
$custom-dark: #000000;
JSON
{
  "hex": "#406913",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 88.605,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.12129,
    "h": 132.4
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#406913
secondary
#6938A0
accent
#3CEC90
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406913

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

Preview Lab → · Contrast checker → · Palette generator →

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