#406922#406922

#406922 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.4% C 0.111 H 134.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#406922
RGBrgb(64, 105, 34)
HSLhsl(95, 51%, 27%)
HSVhsv(95, 68%, 41%)
CMYKcmyk(39%, 0%, 67.6%, 58.8%)
CIE-LABlab(40.09, -27.76, 34.34)
CIE-LCHlch(40.09, 44.16, 128.96°)
OKLaboklab(47.42% -0.0774 0.0791)
OKLCHoklch(47.42% 0.111 134.4)
XYZxyz(7.4545, 11.3083, 3.3030)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406922 #4B2269
analogous
#646922 #406922 #226928
triadic
#406922 #224069 #692240
tetradic
#406922 #226469 #4B2269 #692822
square
#406922 #226469 #4B2269 #692822
split-complementary
#406922 #282269 #692264
monochromatic
#0E1707 #243B13 #406922 #5C9731 #79C243

Accessibility & contrast

On white

6.44
#406922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#406922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406922
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406922#FFFFFF#000000##FFFFFF
##4069221.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6119
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#40655A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #406922;
/* rgb */ color: rgb(64, 105, 34);
/* oklch */ color: oklch(47.4% 0.111 134.4);
Tailwind
colors: {
  custom: {
    50: '#789461',
    500: '#406922',
    950: '#000000',
  },
}
SCSS
$custom: #406922;
$custom-light: #789461;
$custom-dark: #000000;
JSON
{
  "hex": "#406922",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 94.648,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.11068,
    "h": 134.4
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#406922
secondary
#7A4A9D
accent
#4DDB9F
background
#F7F9F5
surface
#EDF1EA
border
#C8CBC6
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #406922

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

Preview Lab → · Contrast checker → · Palette generator →

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