#415212#415212

#415212 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.0% C 0.089 H 123.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#415212
RGBrgb(65, 82, 18)
HSLhsl(76, 64%, 20%)
HSVhsv(76, 78%, 32%)
CMYKcmyk(20.7%, 0%, 78%, 67.8%)
CIE-LABlab(32.26, -16.93, 33.39)
CIE-LCHlch(32.26, 37.44, 116.88°)
OKLaboklab(41.03% -0.0493 0.0746)
OKLCHoklch(41.03% 0.089 123.4)
XYZxyz(5.3065, 7.2020, 1.6827)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415212 #231252
analogous
#524312 #415212 #215212
triadic
#415212 #124152 #521241
tetradic
#415212 #125243 #231252 #521221
square
#415212 #125243 #231252 #521221
split-complementary
#415212 #122152 #431252
monochromatic
#141906 #192007 #415212 #69841D #91B628

Accessibility & contrast

On white

8.61
#415212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #415212
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415212#FFFFFF#000000##FFFFFF
##4152121.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#454E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #415212;
/* rgb */ color: rgb(65, 82, 18);
/* oklch */ color: oklch(41.0% 0.089 123.4);
Tailwind
colors: {
  custom: {
    50: '#788255',
    500: '#415212',
    950: '#000000',
  },
}
SCSS
$custom: #415212;
$custom-light: #788255;
$custom-dark: #000000;
JSON
{
  "hex": "#415212",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 75.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41029,
    "c": 0.08943,
    "h": 123.4
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#415212
secondary
#4C358B
accent
#41E76D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415212

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

Preview Lab → · Contrast checker → · Palette generator →

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