#405F23#405F23

#405F23 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.7% C 0.095 H 132.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#405F23
RGBrgb(64, 95, 35)
HSLhsl(91, 46%, 25%)
HSVhsv(91, 63%, 37%)
CMYKcmyk(32.6%, 0%, 63.2%, 62.7%)
CIE-LABlab(36.73, -22.73, 30.11)
CIE-LCHlch(36.73, 37.73, 127.05°)
OKLaboklab(44.69% -0.0635 0.0703)
OKLCHoklch(44.69% 0.095 132.1)
XYZxyz(6.5098, 9.3955, 3.0603)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F23 #42235F
analogous
#5E5F23 #405F23 #235F24
triadic
#405F23 #23405F #5F2340
tetradic
#405F23 #235E5F #42235F #5F2423
square
#405F23 #235E5F #42235F #5F2423
split-complementary
#405F23 #24235F #5F235E
monochromatic
#0F1608 #223213 #405F23 #5E8C33 #7CB844

Accessibility & contrast

On white

7.29
#405F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#405F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F23
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F23#FFFFFF#000000##FFFFFF
##405F231.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581D
Deuteranopia (green-blind)
#5F5627
Tritanopia (blue-blind)
#415B52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405f23;
/* rgb */ color: rgb(64, 95, 35);
/* oklch */ color: oklch(44.7% 0.095 132.1);
Tailwind
colors: {
  custom: {
    50: '#778c60',
    500: '#405f23',
    950: '#000000',
  },
}
SCSS
$custom: #405f23;
$custom-light: #778c60;
$custom-dark: #000000;
JSON
{
  "hex": "#405f23",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 91,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.44686,
    "c": 0.0947,
    "h": 132.1
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#405F23
secondary
#704B93
accent
#52D696
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #405F23

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

Preview Lab → · Contrast checker → · Palette generator →

#405F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva