#404F22#404F22

#404F22 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.3% C 0.070 H 124.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#404F22
RGBrgb(64, 79, 34)
HSLhsl(80, 40%, 22%)
HSVhsv(80, 57%, 31%)
CMYKcmyk(19%, 0%, 57%, 69%)
CIE-LABlab(31.34, -14.26, 24.39)
CIE-LCHlch(31.34, 28.25, 120.30°)
OKLaboklab(40.32% -0.0401 0.0578)
OKLCHoklch(40.32% 0.07 124.7)
XYZxyz(5.1991, 6.7974, 2.5512)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F22 #31224F
analogous
#4F4822 #404F22 #2A4F22
triadic
#404F22 #22404F #4F2240
tetradic
#404F22 #224F48 #31224F #4F222A
square
#404F22 #224F48 #31224F #4F222A
split-complementary
#404F22 #222A4F #48224F
monochromatic
#111509 #1D2410 #404F22 #637A34 #85A547

Accessibility & contrast

On white

8.90
#404F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#404F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F22
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F22#FFFFFF#000000##FFFFFF
##404F221.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1E
Deuteranopia (green-blind)
#514A25
Tritanopia (blue-blind)
#434B45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404f22;
/* rgb */ color: rgb(64, 79, 34);
/* oklch */ color: oklch(40.3% 0.070 124.7);
Tailwind
colors: {
  custom: {
    50: '#76805e',
    500: '#404f22',
    950: '#000000',
  },
}
SCSS
$custom: #404f22;
$custom-light: #76805e;
$custom-dark: #000000;
JSON
{
  "hex": "#404f22",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 34
  },
  "hsl": {
    "h": 80,
    "s": 39.823,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40318,
    "c": 0.07034,
    "h": 124.7
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#404F22
secondary
#5D4A83
accent
#58D080
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #404F22

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

Preview Lab → · Contrast checker → · Palette generator →

#404F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva