#415812#415812

#415812 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.7% C 0.098 H 126.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#415812
RGBrgb(65, 88, 18)
HSLhsl(80, 66%, 21%)
HSVhsv(80, 80%, 35%)
CMYKcmyk(26.1%, 0%, 79.5%, 65.5%)
CIE-LABlab(34.29, -20.14, 35.38)
CIE-LCHlch(34.29, 40.71, 119.66°)
OKLaboklab(42.67% -0.0581 0.0788)
OKLCHoklch(42.67% 0.098 126.4)
XYZxyz(5.7789, 8.1468, 1.8402)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415812 #291258
analogous
#584C12 #415812 #1E5812
triadic
#415812 #124158 #581241
tetradic
#415812 #12584C #291258 #58121E
square
#415812 #12584C #291258 #58121E
split-complementary
#415812 #121E58 #4C1258
monochromatic
#131905 #1B2508 #415812 #678B1C #8CBE27

Accessibility & contrast

On white

7.99
#415812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#415812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415812
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415812#FFFFFF#000000##FFFFFF
##4158121.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#44544B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #415812;
/* rgb */ color: rgb(65, 88, 18);
/* oklch */ color: oklch(42.7% 0.098 126.4);
Tailwind
colors: {
  custom: {
    50: '#788756',
    500: '#415812',
    950: '#000000',
  },
}
SCSS
$custom: #415812;
$custom-light: #788756;
$custom-dark: #000000;
JSON
{
  "hex": "#415812",
  "rgb": {
    "r": 65,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 79.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42668,
    "c": 0.09789,
    "h": 126.4
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#415812
secondary
#533591
accent
#3FE977
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #415812

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

Preview Lab → · Contrast checker → · Palette generator →

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