#415218#415218

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

Color values

HEX#415218
RGBrgb(65, 82, 24)
HSLhsl(78, 55%, 21%)
HSVhsv(78, 71%, 32%)
CMYKcmyk(20.7%, 0%, 70.7%, 67.8%)
CIE-LABlab(32.31, -16.48, 30.74)
CIE-LCHlch(32.31, 34.88, 118.19°)
OKLaboklab(41.09% -0.0474 0.0701)
OKLCHoklch(41.09% 0.085 124.1)
XYZxyz(5.3622, 7.2243, 1.9759)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415218 #291852
analogous
#524618 #415218 #245218
triadic
#415218 #184152 #521841
tetradic
#415218 #185246 #291852 #521824
square
#415218 #185246 #291852 #521824
split-complementary
#415218 #182452 #461852
monochromatic
#131807 #1B230A #415218 #678126 #8CB134

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##415218#FFFFFF#000000##FFFFFF
##4152181.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)
#574D10
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#444E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #415218;
/* rgb */ color: rgb(65, 82, 24);
/* oklch */ color: oklch(41.1% 0.085 124.1);
Tailwind
colors: {
  custom: {
    50: '#778258',
    500: '#415218',
    950: '#000000',
  },
}
SCSS
$custom: #415218;
$custom-light: #778258;
$custom-dark: #000000;
JSON
{
  "hex": "#415218",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 77.586,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41085,
    "c": 0.08461,
    "h": 124.1
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#415218
secondary
#533D89
accent
#4ADE75
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415218

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

Preview Lab → · Contrast checker → · Palette generator →

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