#406522#406522

#406522 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.3% C 0.105 H 133.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#406522
RGBrgb(64, 101, 34)
HSLhsl(93, 50%, 26%)
HSVhsv(93, 66%, 40%)
CMYKcmyk(36.6%, 0%, 66.3%, 60.4%)
CIE-LABlab(38.75, -25.83, 32.86)
CIE-LCHlch(38.75, 41.80, 128.17°)
OKLaboklab(46.32% -0.0721 0.076)
OKLCHoklch(46.32% 0.105 133.5)
XYZxyz(7.0566, 10.5126, 3.1704)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406522 #472265
analogous
#626522 #406522 #226525
triadic
#406522 #224065 #652240
tetradic
#406522 #226265 #472265 #652522
square
#406522 #226265 #472265 #652522
split-complementary
#406522 #252265 #652262
monochromatic
#0F1708 #233713 #406522 #5D9331 #7ABF42

Accessibility & contrast

On white

6.77
#406522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#406522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406522
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406522#FFFFFF#000000##FFFFFF
##4065221.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1A
Deuteranopia (green-blind)
#645A27
Tritanopia (blue-blind)
#406157
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406522;
/* rgb */ color: rgb(64, 101, 34);
/* oklch */ color: oklch(46.3% 0.105 133.5);
Tailwind
colors: {
  custom: {
    50: '#789160',
    500: '#406522',
    950: '#000000',
  },
}
SCSS
$custom: #406522;
$custom-light: #789160;
$custom-dark: #000000;
JSON
{
  "hex": "#406522",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 93.134,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4632,
    "c": 0.10476,
    "h": 133.5
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#406522
secondary
#764A99
accent
#4FD99B
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #406522

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

Preview Lab → · Contrast checker → · Palette generator →

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