#415D12#415D12

#415D12 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.0% C 0.105 H 128.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#415D12
RGBrgb(65, 93, 18)
HSLhsl(82, 68%, 22%)
HSVhsv(82, 81%, 36%)
CMYKcmyk(30.1%, 0%, 80.6%, 63.5%)
CIE-LABlab(35.98, -22.73, 37.01)
CIE-LCHlch(35.98, 43.43, 121.55°)
OKLaboklab(44.04% -0.0651 0.0822)
OKLCHoklch(44.04% 0.105 128.4)
XYZxyz(6.2035, 8.9960, 1.9817)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415D12 #2E125D
analogous
#5D5412 #415D12 #1C5D12
triadic
#415D12 #12415D #5D1241
tetradic
#415D12 #125D54 #2E125D #5D121C
square
#415D12 #125D54 #2E125D #5D121C
split-complementary
#415D12 #121C5D #54125D
monochromatic
#121A05 #1D2A08 #415D12 #65901C #89C426

Accessibility & contrast

On white

7.50
#415D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#415D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415D12
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415D12#FFFFFF#000000##FFFFFF
##415D121.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#43584F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #415d12;
/* rgb */ color: rgb(65, 93, 18);
/* oklch */ color: oklch(44.0% 0.105 128.4);
Tailwind
colors: {
  custom: {
    50: '#798b56',
    500: '#415d12',
    950: '#000000',
  },
}
SCSS
$custom: #415d12;
$custom-light: #798b56;
$custom-dark: #000000;
JSON
{
  "hex": "#415d12",
  "rgb": {
    "r": 65,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 82.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.10488,
    "h": 128.4
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#415D12
secondary
#593595
accent
#3DEA7E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #415D12

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

Preview Lab → · Contrast checker → · Palette generator →

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