#415117#415117

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

Color values

HEX#415117
RGBrgb(65, 81, 23)
HSLhsl(77, 56%, 20%)
HSVhsv(77, 72%, 32%)
CMYKcmyk(19.8%, 0%, 71.6%, 68.2%)
CIE-LABlab(31.97, -16.01, 30.85)
CIE-LCHlch(31.97, 34.76, 117.42°)
OKLaboklab(40.8% -0.0462 0.0702)
OKLCHoklch(40.8% 0.084 123.4)
XYZxyz(5.2771, 7.0705, 1.8972)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415117 #271751
analogous
#514417 #415117 #245117
triadic
#415117 #174151 #511741
tetradic
#415117 #175144 #271751 #511724
square
#415117 #175144 #271751 #511724
split-complementary
#415117 #172451 #441751
monochromatic
#131807 #1B2109 #415117 #678125 #8DB032

Accessibility & contrast

On white

8.70
#415117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #415117
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415117#FFFFFF#000000##FFFFFF
##4151171.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0F
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#444D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #415117;
/* rgb */ color: rgb(65, 81, 23);
/* oklch */ color: oklch(40.8% 0.084 123.4);
Tailwind
colors: {
  custom: {
    50: '#788157',
    500: '#415117',
    950: '#000000',
  },
}
SCSS
$custom: #415117;
$custom-light: #788157;
$custom-dark: #000000;
JSON
{
  "hex": "#415117",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 76.552,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.08401,
    "h": 123.4
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#415117
secondary
#513C88
accent
#49DF72
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415117

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

Preview Lab → · Contrast checker → · Palette generator →

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