#415217#415217

#415217 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.1% C 0.085 H 123.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#415217
RGBrgb(65, 82, 23)
HSLhsl(77, 56%, 21%)
HSVhsv(77, 72%, 32%)
CMYKcmyk(20.7%, 0%, 72%, 67.8%)
CIE-LABlab(32.30, -16.56, 31.21)
CIE-LCHlch(32.30, 35.33, 117.95°)
OKLaboklab(41.08% -0.0477 0.0709)
OKLCHoklch(41.08% 0.085 123.9)
XYZxyz(5.3520, 7.2202, 1.9221)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415217 #281752
analogous
#524517 #415217 #235217
triadic
#415217 #174152 #521741
tetradic
#415217 #175245 #281752 #521723
square
#415217 #175245 #281752 #521723
split-complementary
#415217 #172352 #451752
monochromatic
#131807 #1B220A #415217 #678224 #8DB232

Accessibility & contrast

On white

8.59
#415217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#415217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415217
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415217#FFFFFF#000000##FFFFFF
##4152171.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0F
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#444E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #415217;
/* rgb */ color: rgb(65, 82, 23);
/* oklch */ color: oklch(41.1% 0.085 123.9);
Tailwind
colors: {
  custom: {
    50: '#788258',
    500: '#415217',
    950: '#000000',
  },
}
SCSS
$custom: #415217;
$custom-light: #788258;
$custom-dark: #000000;
JSON
{
  "hex": "#415217",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 77.288,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.08548,
    "h": 123.9
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#415217
secondary
#523C89
accent
#48DF74
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415217

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

Preview Lab → · Contrast checker → · Palette generator →

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