#415018#415018

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

Color values

HEX#415018
RGBrgb(65, 80, 24)
HSLhsl(76, 54%, 20%)
HSVhsv(76, 70%, 31%)
CMYKcmyk(18.8%, 0%, 70%, 68.6%)
CIE-LABlab(31.64, -15.37, 30.02)
CIE-LCHlch(31.64, 33.73, 117.11°)
OKLaboklab(40.54% -0.0443 0.0686)
OKLCHoklch(40.54% 0.082 122.9)
XYZxyz(5.2136, 6.9271, 1.9264)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415018 #271850
analogous
#504318 #415018 #255018
triadic
#415018 #184150 #501841
tetradic
#415018 #185043 #271850 #501825
square
#415018 #185043 #271850 #501825
split-complementary
#415018 #182550 #431850
monochromatic
#131807 #1B210A #415018 #677F26 #8EAE34

Accessibility & contrast

On white

8.80
#415018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#415018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415018
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415018#FFFFFF#000000##FFFFFF
##4150181.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#444C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #415018;
/* rgb */ color: rgb(65, 80, 24);
/* oklch */ color: oklch(40.5% 0.082 122.9);
Tailwind
colors: {
  custom: {
    50: '#778158',
    500: '#415018',
    950: '#000000',
  },
}
SCSS
$custom: #415018;
$custom-light: #778158;
$custom-dark: #000000;
JSON
{
  "hex": "#415018",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 76.071,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.08165,
    "h": 122.9
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#415018
secondary
#513D87
accent
#4BDD72
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415018

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

Preview Lab → · Contrast checker → · Palette generator →

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