#3A5C11#3A5C11

#3A5C11 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.3% C 0.108 H 131.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3A5C11
RGBrgb(58, 92, 17)
HSLhsl(87, 69%, 21%)
HSVhsv(87, 82%, 36%)
CMYKcmyk(37%, 0%, 81.5%, 63.9%)
CIE-LABlab(35.19, -25.25, 36.47)
CIE-LCHlch(35.19, 44.36, 124.69°)
OKLaboklab(43.28% -0.0715 0.0811)
OKLCHoklch(43.28% 0.108 131.4)
XYZxyz(5.6732, 8.5941, 1.8901)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5C11 #33115C
analogous
#5C5911 #3A5C11 #155C11
triadic
#3A5C11 #113A5C #5C113A
tetradic
#3A5C11 #115C59 #33115C #5C1115
square
#3A5C11 #115C59 #33115C #5C1115
split-complementary
#3A5C11 #11155C #59115C
monochromatic
#101A05 #192807 #3A5C11 #5B901B #7BC324

Accessibility & contrast

On white

7.72
#3A5C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A5C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5C11
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5C11#FFFFFF#000000##FFFFFF
##3A5C111.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#3B584E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a5c11;
/* rgb */ color: rgb(58, 92, 17);
/* oklch */ color: oklch(43.3% 0.108 131.4);
Tailwind
colors: {
  custom: {
    50: '#748a56',
    500: '#3a5c11',
    950: '#000000',
  },
}
SCSS
$custom: #3a5c11;
$custom-light: #748a56;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5c11",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 87.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.10814,
    "h": 131.4
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#3A5C11
secondary
#603495
accent
#3CEC8C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5C11

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

Preview Lab → · Contrast checker → · Palette generator →

#3A5C11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva