#406914#406914

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

Color values

HEX#406914
RGBrgb(64, 105, 20)
HSLhsl(89, 68%, 25%)
HSVhsv(89, 81%, 41%)
CMYKcmyk(39%, 0%, 81%, 58.8%)
CIE-LABlab(39.99, -28.87, 40.09)
CIE-LCHlch(39.99, 49.40, 125.76°)
OKLaboklab(47.3% -0.0815 0.0891)
OKLCHoklch(47.3% 0.121 132.5)
XYZxyz(7.2921, 11.2433, 2.4476)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406914 #3D1469
analogous
#696814 #406914 #166914
triadic
#406914 #144069 #691440
tetradic
#406914 #146968 #3D1469 #691416
square
#406914 #146968 #3D1469 #691416
split-complementary
#406914 #141669 #681469
monochromatic
#101A05 #21360A #406914 #5F9C1E #7FD028

Accessibility & contrast

On white

6.46
#406914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406914
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406914#FFFFFF#000000##FFFFFF
##4069141.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #406914;
/* rgb */ color: rgb(64, 105, 20);
/* oklch */ color: oklch(47.3% 0.121 132.5);
Tailwind
colors: {
  custom: {
    50: '#799459',
    500: '#406914',
    950: '#000000',
  },
}
SCSS
$custom: #406914;
$custom-light: #799459;
$custom-dark: #000000;
JSON
{
  "hex": "#406914",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 88.941,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.12072,
    "h": 132.5
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#406914
secondary
#6B39A0
accent
#3DEB91
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406914

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

Preview Lab → · Contrast checker → · Palette generator →

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