#415312#415312

#415312 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.091 H 124.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#415312
RGBrgb(65, 83, 18)
HSLhsl(77, 64%, 20%)
HSVhsv(77, 78%, 33%)
CMYKcmyk(21.7%, 0%, 78.3%, 67.5%)
CIE-LABlab(32.60, -17.47, 33.73)
CIE-LCHlch(32.60, 37.98, 117.39°)
OKLaboklab(41.3% -0.0508 0.0753)
OKLCHoklch(41.3% 0.091 124)
XYZxyz(5.3825, 7.3540, 1.7080)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415312 #241253
analogous
#534412 #415312 #215312
triadic
#415312 #124153 #531241
tetradic
#415312 #125344 #241253 #531221
square
#415312 #125344 #241253 #531221
split-complementary
#415312 #122153 #441253
monochromatic
#141905 #1A2107 #415312 #68851D #90B828

Accessibility & contrast

On white

8.50
#415312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#415312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415312
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415312#FFFFFF#000000##FFFFFF
##4153121.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#444F46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #415312;
/* rgb */ color: rgb(65, 83, 18);
/* oklch */ color: oklch(41.3% 0.091 124.0);
Tailwind
colors: {
  custom: {
    50: '#788355',
    500: '#415312',
    950: '#000000',
  },
}
SCSS
$custom: #415312;
$custom-light: #788355;
$custom-dark: #000000;
JSON
{
  "hex": "#415312",
  "rgb": {
    "r": 65,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 76.615,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.09084,
    "h": 124
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#415312
secondary
#4D358C
accent
#40E76F
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #415312

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

Preview Lab → · Contrast checker → · Palette generator →

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