#406223#406223

#406223 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.5% C 0.099 H 132.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#406223
RGBrgb(64, 98, 35)
HSLhsl(92, 47%, 26%)
HSVhsv(92, 64%, 38%)
CMYKcmyk(34.7%, 0%, 64.3%, 61.6%)
CIE-LABlab(37.75, -24.25, 31.26)
CIE-LCHlch(37.75, 39.56, 127.80°)
OKLaboklab(45.51% -0.0676 0.0727)
OKLCHoklch(45.51% 0.099 132.9)
XYZxyz(6.7853, 9.9465, 3.1521)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406223 #452362
analogous
#5F6223 #406223 #236225
triadic
#406223 #234062 #622340
tetradic
#406223 #235F62 #452362 #622523
square
#406223 #235F62 #452362 #622523
split-complementary
#406223 #252362 #62235F
monochromatic
#0F1708 #233513 #406223 #5D8F33 #7BBC43

Accessibility & contrast

On white

7.02
#406223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#406223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406223
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406223#FFFFFF#000000##FFFFFF
##4062231.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B1C
Deuteranopia (green-blind)
#615828
Tritanopia (blue-blind)
#405E55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #406223;
/* rgb */ color: rgb(64, 98, 35);
/* oklch */ color: oklch(45.5% 0.099 132.9);
Tailwind
colors: {
  custom: {
    50: '#778f61',
    500: '#406223',
    950: '#000000',
  },
}
SCSS
$custom: #406223;
$custom-light: #778f61;
$custom-dark: #000000;
JSON
{
  "hex": "#406223",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 92.381,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.09931,
    "h": 132.9
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#406223
secondary
#734B96
accent
#51D799
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #406223

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

Preview Lab → · Contrast checker → · Palette generator →

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