#3A5512#3A5512

#3A5512 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.098 H 129.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#3A5512
RGBrgb(58, 85, 18)
HSLhsl(84, 65%, 20%)
HSVhsv(84, 79%, 33%)
CMYKcmyk(31.8%, 0%, 78.8%, 66.7%)
CIE-LABlab(32.79, -21.68, 33.75)
CIE-LCHlch(32.79, 40.11, 122.71°)
OKLaboklab(41.33% -0.0618 0.0756)
OKLCHoklch(41.33% 0.098 129.3)
XYZxyz(5.1026, 7.4401, 1.7394)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5512 #2D1255
analogous
#554E12 #3A5512 #185512
triadic
#3A5512 #123A55 #55123A
tetradic
#3A5512 #12554E #2D1255 #551218
square
#3A5512 #12554E #2D1255 #551218
split-complementary
#3A5512 #121855 #4E1255
monochromatic
#111905 #182207 #3A5512 #5C881D #7FBA27

Accessibility & contrast

On white

8.44
#3A5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5512
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5512#FFFFFF#000000##FFFFFF
##3A55121.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#564C18
Tritanopia (blue-blind)
#3C5148
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a5512;
/* rgb */ color: rgb(58, 85, 18);
/* oklch */ color: oklch(41.3% 0.098 129.3);
Tailwind
colors: {
  custom: {
    50: '#738555',
    500: '#3a5512',
    950: '#000000',
  },
}
SCSS
$custom: #3a5512;
$custom-light: #738555;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5512",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 84.179,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41326,
    "c": 0.09759,
    "h": 129.3
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#3A5512
secondary
#59358E
accent
#40E884
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5512

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

Preview Lab → · Contrast checker → · Palette generator →

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