#3A5611#3A5611

#3A5611 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.6% C 0.100 H 129.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3A5611
RGBrgb(58, 86, 17)
HSLhsl(84, 67%, 20%)
HSVhsv(84, 80%, 34%)
CMYKcmyk(32.6%, 0%, 80.2%, 66.3%)
CIE-LABlab(33.13, -22.25, 34.48)
CIE-LCHlch(33.13, 41.04, 122.84°)
OKLaboklab(41.6% -0.0634 0.0769)
OKLCHoklch(41.6% 0.1 129.5)
XYZxyz(5.1739, 7.5954, 1.7237)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5611 #2D1156
analogous
#564F11 #3A5611 #175611
triadic
#3A5611 #113A56 #56113A
tetradic
#3A5611 #11564F #2D1156 #561117
square
#3A5611 #11564F #2D1156 #561117
split-complementary
#3A5611 #111756 #4F1156
monochromatic
#111A05 #182307 #3A5611 #5C891B #7FBC25

Accessibility & contrast

On white

8.34
#3A5611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3A5611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5611
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5611#FFFFFF#000000##FFFFFF
##3A56111.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#3C5249
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a5611;
/* rgb */ color: rgb(58, 86, 17);
/* oklch */ color: oklch(41.6% 0.100 129.5);
Tailwind
colors: {
  custom: {
    50: '#738655',
    500: '#3a5611',
    950: '#000000',
  },
}
SCSS
$custom: #3a5611;
$custom-light: #738655;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5611",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 84.348,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41598,
    "c": 0.0997,
    "h": 129.5
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#3A5611
secondary
#59348F
accent
#3EEA84
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5611

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

Preview Lab → · Contrast checker → · Palette generator →

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