#415222#415222

#415222 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.075 H 125.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#415222
RGBrgb(65, 82, 34)
HSLhsl(81, 41%, 23%)
HSVhsv(81, 59%, 32%)
CMYKcmyk(20.7%, 0%, 58.5%, 67.8%)
CIE-LABlab(32.42, -15.49, 25.69)
CIE-LCHlch(32.42, 29.99, 121.08°)
OKLaboklab(41.21% -0.0436 0.0606)
OKLCHoklch(41.21% 0.075 125.7)
XYZxyz(5.4860, 7.2738, 2.6280)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415222 #332252
analogous
#524B22 #415222 #295222
triadic
#415222 #224152 #522241
tetradic
#415222 #22524B #332252 #522229
square
#415222 #22524B #332252 #522229
split-complementary
#415222 #222952 #4B2252
monochromatic
#111609 #1F2710 #415222 #637D34 #86A946

Accessibility & contrast

On white

8.55
#415222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#415222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415222
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415222#FFFFFF#000000##FFFFFF
##4152221.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1D
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#444E47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #415222;
/* rgb */ color: rgb(65, 82, 34);
/* oklch */ color: oklch(41.2% 0.075 125.7);
Tailwind
colors: {
  custom: {
    50: '#77825f',
    500: '#415222',
    950: '#000000',
  },
}
SCSS
$custom: #415222;
$custom-light: #77825f;
$custom-dark: #000000;
JSON
{
  "hex": "#415222",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 81.25,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41209,
    "c": 0.07465,
    "h": 125.7
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#415222
secondary
#5F4A86
accent
#57D182
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #415222

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

Preview Lab → · Contrast checker → · Palette generator →

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