#415012#415012

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

Color values

HEX#415012
RGBrgb(65, 80, 18)
HSLhsl(75, 63%, 19%)
HSVhsv(75, 78%, 31%)
CMYKcmyk(18.8%, 0%, 77.5%, 68.6%)
CIE-LABlab(31.59, -15.83, 32.73)
CIE-LCHlch(31.59, 36.35, 115.81°)
OKLaboklab(40.49% -0.0462 0.0732)
OKLCHoklch(40.49% 0.087 122.3)
XYZxyz(5.1579, 6.9048, 1.6332)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415012 #211250
analogous
#504012 #415012 #225012
triadic
#415012 #124150 #501241
tetradic
#415012 #125040 #211250 #501222
square
#415012 #125040 #211250 #501222
split-complementary
#415012 #122250 #401250
monochromatic
#141906 #181E07 #415012 #6A821D #92B428

Accessibility & contrast

On white

8.82
#415012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #415012
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415012#FFFFFF#000000##FFFFFF
##4150121.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #415012;
/* rgb */ color: rgb(65, 80, 18);
/* oklch */ color: oklch(40.5% 0.087 122.3);
Tailwind
colors: {
  custom: {
    50: '#788155',
    500: '#415012',
    950: '#000000',
  },
}
SCSS
$custom: #415012;
$custom-light: #788155;
$custom-dark: #000000;
JSON
{
  "hex": "#415012",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 74.516,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.08661,
    "h": 122.3
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#415012
secondary
#493589
accent
#41E669
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415012

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

Preview Lab → · Contrast checker → · Palette generator →

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