#415017#415017

#415017 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.5% C 0.083 H 122.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#415017
RGBrgb(65, 80, 23)
HSLhsl(76, 55%, 20%)
HSVhsv(76, 71%, 31%)
CMYKcmyk(18.8%, 0%, 71.2%, 68.6%)
CIE-LABlab(31.63, -15.45, 30.50)
CIE-LCHlch(31.63, 34.19, 116.87°)
OKLaboklab(40.53% -0.0447 0.0694)
OKLCHoklch(40.53% 0.083 122.8)
XYZxyz(5.2033, 6.9230, 1.8726)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415017 #261750
analogous
#504217 #415017 #255017
triadic
#415017 #174150 #501741
tetradic
#415017 #175042 #261750 #501725
square
#415017 #175042 #261750 #501725
split-complementary
#415017 #172550 #421750
monochromatic
#131807 #1A2009 #415017 #688025 #8EAF32

Accessibility & contrast

On white

8.81
#415017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#415017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415017
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415017#FFFFFF#000000##FFFFFF
##4150171.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#454C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #415017;
/* rgb */ color: rgb(65, 80, 23);
/* oklch */ color: oklch(40.5% 0.083 122.8);
Tailwind
colors: {
  custom: {
    50: '#778157',
    500: '#415017',
    950: '#000000',
  },
}
SCSS
$custom: #415017;
$custom-light: #778157;
$custom-dark: #000000;
JSON
{
  "hex": "#415017",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 75.789,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40532,
    "c": 0.08254,
    "h": 122.8
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#415017
secondary
#503C87
accent
#49DF70
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415017

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

Preview Lab → · Contrast checker → · Palette generator →

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