#415A12#415A12

#415A12 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.2% C 0.101 H 127.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#415A12
RGBrgb(65, 90, 18)
HSLhsl(81, 67%, 21%)
HSVhsv(81, 80%, 35%)
CMYKcmyk(27.8%, 0%, 80%, 64.7%)
CIE-LABlab(34.96, -21.19, 36.03)
CIE-LCHlch(34.96, 41.80, 120.46°)
OKLaboklab(43.22% -0.0609 0.0802)
OKLCHoklch(43.22% 0.101 127.2)
XYZxyz(5.9453, 8.4797, 1.8957)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415A12 #2B125A
analogous
#5A4F12 #415A12 #1D5A12
triadic
#415A12 #12415A #5A1241
tetradic
#415A12 #125A4F #2B125A #5A121D
square
#415A12 #125A4F #2B125A #5A121D
split-complementary
#415A12 #121D5A #4F125A
monochromatic
#121A05 #1C2708 #415A12 #668D1C #8BC026

Accessibility & contrast

On white

7.79
#415A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#415A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415A12
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415A12#FFFFFF#000000##FFFFFF
##415A121.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#44554C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #415a12;
/* rgb */ color: rgb(65, 90, 18);
/* oklch */ color: oklch(43.2% 0.101 127.2);
Tailwind
colors: {
  custom: {
    50: '#788856',
    500: '#415a12',
    950: '#000000',
  },
}
SCSS
$custom: #415a12;
$custom-light: #788856;
$custom-dark: #000000;
JSON
{
  "hex": "#415a12",
  "rgb": {
    "r": 65,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 80.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43216,
    "c": 0.10069,
    "h": 127.2
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#415A12
secondary
#563593
accent
#3EEA7A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #415A12

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

Preview Lab → · Contrast checker → · Palette generator →

#415A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva