#415F12#415F12

#415F12 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.6% C 0.108 H 129.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#415F12
RGBrgb(65, 95, 18)
HSLhsl(83, 68%, 22%)
HSVhsv(83, 81%, 37%)
CMYKcmyk(31.6%, 0%, 81.1%, 62.7%)
CIE-LABlab(36.65, -23.73, 37.65)
CIE-LCHlch(36.65, 44.51, 122.22°)
OKLaboklab(44.59% -0.0678 0.0836)
OKLCHoklch(44.59% 0.108 129.1)
XYZxyz(6.3814, 9.3517, 2.0410)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415F12 #30125F
analogous
#5F5712 #415F12 #1A5F12
triadic
#415F12 #12415F #5F1241
tetradic
#415F12 #125F57 #30125F #5F121A
square
#415F12 #125F57 #30125F #5F121A
split-complementary
#415F12 #121A5F #57125F
monochromatic
#121A05 #1E2C08 #415F12 #64921C #87C625

Accessibility & contrast

On white

7.32
#415F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#415F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415F12
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415F12#FFFFFF#000000##FFFFFF
##415F121.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#435A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #415f12;
/* rgb */ color: rgb(65, 95, 18);
/* oklch */ color: oklch(44.6% 0.108 129.1);
Tailwind
colors: {
  custom: {
    50: '#798c57',
    500: '#415f12',
    950: '#000000',
  },
}
SCSS
$custom: #415f12;
$custom-light: #798c57;
$custom-dark: #000000;
JSON
{
  "hex": "#415f12",
  "rgb": {
    "r": 65,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 83.377,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.10765,
    "h": 129.1
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#415F12
secondary
#5C3697
accent
#3DEB81
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #415F12

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

Preview Lab → · Contrast checker → · Palette generator →

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