#3A5311#3A5311

#3A5311 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.095 H 128.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3A5311
RGBrgb(58, 83, 17)
HSLhsl(83, 66%, 20%)
HSVhsv(83, 80%, 33%)
CMYKcmyk(30.1%, 0%, 79.5%, 67.5%)
CIE-LABlab(32.09, -20.71, 33.47)
CIE-LCHlch(32.09, 39.36, 121.75°)
OKLaboklab(40.76% -0.0592 0.0748)
OKLCHoklch(40.76% 0.095 128.4)
XYZxyz(4.9394, 7.1264, 1.6455)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5311 #2A1153
analogous
#534B11 #3A5311 #195311
triadic
#3A5311 #113A53 #53113A
tetradic
#3A5311 #11534B #2A1153 #531119
square
#3A5311 #11534B #2A1153 #531119
split-complementary
#3A5311 #111953 #4B1153
monochromatic
#121905 #172007 #3A5311 #5D861B #81B926

Accessibility & contrast

On white

8.66
#3A5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5311
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5311#FFFFFF#000000##FFFFFF
##3A53111.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D05
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#3C4F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a5311;
/* rgb */ color: rgb(58, 83, 17);
/* oklch */ color: oklch(40.8% 0.095 128.4);
Tailwind
colors: {
  custom: {
    50: '#738354',
    500: '#3a5311',
    950: '#000000',
  },
}
SCSS
$custom: #3a5311;
$custom-light: #738354;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5311",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 82.727,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40759,
    "c": 0.09542,
    "h": 128.4
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#3A5311
secondary
#55348C
accent
#3FE97F
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5311

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

Preview Lab → · Contrast checker → · Palette generator →

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