#415B12#415B12

#415B12 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.5% C 0.102 H 127.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#415B12
RGBrgb(65, 91, 18)
HSLhsl(81, 67%, 21%)
HSVhsv(81, 80%, 36%)
CMYKcmyk(28.6%, 0%, 80.2%, 64.3%)
CIE-LABlab(35.30, -21.70, 36.36)
CIE-LCHlch(35.30, 42.34, 120.83°)
OKLaboklab(43.49% -0.0623 0.0809)
OKLCHoklch(43.49% 0.102 127.6)
XYZxyz(6.0303, 8.6495, 1.9240)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415B12 #2C125B
analogous
#5B5112 #415B12 #1D5B12
triadic
#415B12 #12415B #5B1241
tetradic
#415B12 #125B51 #2C125B #5B121D
square
#415B12 #125B51 #2C125B #5B121D
split-complementary
#415B12 #121D5B #51125B
monochromatic
#121A05 #1D2808 #415B12 #658E1C #8AC126

Accessibility & contrast

On white

7.69
#415B12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#415B12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415B12
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415B12#FFFFFF#000000##FFFFFF
##415B121.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#5C5319
Tritanopia (blue-blind)
#44564D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #415b12;
/* rgb */ color: rgb(65, 91, 18);
/* oklch */ color: oklch(43.5% 0.102 127.6);
Tailwind
colors: {
  custom: {
    50: '#788956',
    500: '#415b12',
    950: '#000000',
  },
}
SCSS
$custom: #415b12;
$custom-light: #788956;
$custom-dark: #000000;
JSON
{
  "hex": "#415b12",
  "rgb": {
    "r": 65,
    "g": 91,
    "b": 18
  },
  "hsl": {
    "h": 81.37,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4349,
    "c": 0.10209,
    "h": 127.6
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#415B12
secondary
#573593
accent
#3EEA7B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #415B12

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

Preview Lab → · Contrast checker → · Palette generator →

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