#415118#415118

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

Color values

HEX#415118
RGBrgb(65, 81, 24)
HSLhsl(77, 54%, 21%)
HSVhsv(77, 70%, 32%)
CMYKcmyk(19.8%, 0%, 70.4%, 68.2%)
CIE-LABlab(31.98, -15.92, 30.38)
CIE-LCHlch(31.98, 34.30, 117.66°)
OKLaboklab(40.81% -0.0459 0.0693)
OKLCHoklch(40.81% 0.083 123.5)
XYZxyz(5.2873, 7.0746, 1.9510)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415118 #281851
analogous
#514418 #415118 #245118
triadic
#415118 #184151 #511841
tetradic
#415118 #185144 #281851 #511824
square
#415118 #185144 #281851 #511824
split-complementary
#415118 #182451 #441851
monochromatic
#131807 #1B220A #415118 #678026 #8DAF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##415118#FFFFFF#000000##FFFFFF
##4151181.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)
#564C11
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#444D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #415118;
/* rgb */ color: rgb(65, 81, 24);
/* oklch */ color: oklch(40.8% 0.083 123.5);
Tailwind
colors: {
  custom: {
    50: '#778158',
    500: '#415118',
    950: '#000000',
  },
}
SCSS
$custom: #415118;
$custom-light: #778158;
$custom-dark: #000000;
JSON
{
  "hex": "#415118",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 76.842,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.08313,
    "h": 123.5
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#415118
secondary
#523D88
accent
#4ADE74
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415118

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

Preview Lab → · Contrast checker → · Palette generator →

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