#406423#406423

#406423 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.1% C 0.102 H 133.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#406423
RGBrgb(64, 100, 35)
HSLhsl(93, 48%, 26%)
HSVhsv(93, 65%, 39%)
CMYKcmyk(36%, 0%, 65%, 60.8%)
CIE-LABlab(38.42, -25.24, 32.01)
CIE-LCHlch(38.42, 40.76, 128.25°)
OKLaboklab(46.06% -0.0704 0.0743)
OKLCHoklch(46.06% 0.102 133.4)
XYZxyz(6.9748, 10.3254, 3.2153)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406423 #472364
analogous
#616423 #406423 #236427
triadic
#406423 #234064 #642340
tetradic
#406423 #236164 #472364 #642723
square
#406423 #236164 #472364 #642723
split-complementary
#406423 #272364 #642361
monochromatic
#0F1708 #233713 #406423 #5D9133 #7ABE44

Accessibility & contrast

On white

6.85
#406423 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#406423 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406423
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406423#FFFFFF#000000##FFFFFF
##4064231.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C1C
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#406056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406423;
/* rgb */ color: rgb(64, 100, 35);
/* oklch */ color: oklch(46.1% 0.102 133.4);
Tailwind
colors: {
  custom: {
    50: '#789061',
    500: '#406423',
    950: '#000000',
  },
}
SCSS
$custom: #406423;
$custom-light: #789061;
$custom-dark: #000000;
JSON
{
  "hex": "#406423",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 35
  },
  "hsl": {
    "h": 93.231,
    "s": 48.148,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46057,
    "c": 0.10235,
    "h": 133.4
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#406423
secondary
#764B98
accent
#50D89B
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #406423

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

Preview Lab → · Contrast checker → · Palette generator →

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