#415112#415112

#415112 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.088 H 122.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#415112
RGBrgb(65, 81, 18)
HSLhsl(75, 64%, 19%)
HSVhsv(75, 78%, 32%)
CMYKcmyk(19.8%, 0%, 77.8%, 68.2%)
CIE-LABlab(31.93, -16.38, 33.06)
CIE-LCHlch(31.93, 36.90, 116.36°)
OKLaboklab(40.76% -0.0477 0.0739)
OKLCHoklch(40.76% 0.088 122.9)
XYZxyz(5.2316, 7.0523, 1.6578)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415112 #221251
analogous
#514212 #415112 #225112
triadic
#415112 #124151 #511241
tetradic
#415112 #125142 #221251 #511222
square
#415112 #125142 #221251 #511222
split-complementary
#415112 #122251 #421251
monochromatic
#141906 #191F07 #415112 #69831D #91B528

Accessibility & contrast

On white

8.71
#415112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#415112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415112
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415112#FFFFFF#000000##FFFFFF
##4151121.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C07
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#454D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #415112;
/* rgb */ color: rgb(65, 81, 18);
/* oklch */ color: oklch(40.8% 0.088 122.9);
Tailwind
colors: {
  custom: {
    50: '#788155',
    500: '#415112',
    950: '#000000',
  },
}
SCSS
$custom: #415112;
$custom-light: #788155;
$custom-dark: #000000;
JSON
{
  "hex": "#415112",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 75.238,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.08802,
    "h": 122.9
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#415112
secondary
#4A358A
accent
#41E76B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415112

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

Preview Lab → · Contrast checker → · Palette generator →

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