#415817#415817

#415817 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.7% C 0.094 H 126.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#415817
RGBrgb(65, 88, 23)
HSLhsl(81, 59%, 22%)
HSVhsv(81, 74%, 35%)
CMYKcmyk(26.1%, 0%, 73.9%, 65.5%)
CIE-LABlab(34.32, -19.79, 33.30)
CIE-LCHlch(34.32, 38.74, 120.72°)
OKLaboklab(42.71% -0.0566 0.0753)
OKLCHoklch(42.71% 0.094 126.9)
XYZxyz(5.8244, 8.1650, 2.0796)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415817 #2E1758
analogous
#584F17 #415817 #215817
triadic
#415817 #174158 #581741
tetradic
#415817 #17584F #2E1758 #581721
square
#415817 #17584F #2E1758 #581721
split-complementary
#415817 #172158 #4F1758
monochromatic
#121806 #1D270A #415817 #658924 #89B930

Accessibility & contrast

On white

7.98
#415817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #415817
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415817#FFFFFF#000000##FFFFFF
##4158171.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #415817;
/* rgb */ color: rgb(65, 88, 23);
/* oklch */ color: oklch(42.7% 0.094 126.9);
Tailwind
colors: {
  custom: {
    50: '#788758',
    500: '#415817',
    950: '#000000',
  },
}
SCSS
$custom: #415817;
$custom-light: #788758;
$custom-dark: #000000;
JSON
{
  "hex": "#415817",
  "rgb": {
    "r": 65,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 81.231,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.09423,
    "h": 126.9
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#415817
secondary
#593C8F
accent
#46E27D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #415817

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

Preview Lab → · Contrast checker → · Palette generator →

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