#3A5712#3A5712

#3A5712 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.9% C 0.100 H 130.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3A5712
RGBrgb(58, 87, 18)
HSLhsl(85, 66%, 21%)
HSVhsv(85, 79%, 34%)
CMYKcmyk(33.3%, 0%, 79.3%, 65.9%)
CIE-LABlab(33.48, -22.69, 34.43)
CIE-LCHlch(33.48, 41.23, 123.39°)
OKLaboklab(41.89% -0.0645 0.077)
OKLCHoklch(41.89% 0.1 130)
XYZxyz(5.2623, 7.7594, 1.7926)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5712 #2F1257
analogous
#575112 #3A5712 #185712
triadic
#3A5712 #123A57 #57123A
tetradic
#3A5712 #125751 #2F1257 #571218
square
#3A5712 #125751 #2F1257 #571218
split-complementary
#3A5712 #121857 #511257
monochromatic
#111905 #182408 #3A5712 #5C8A1C #7EBC27

Accessibility & contrast

On white

8.23
#3A5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3A5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5712
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5712#FFFFFF#000000##FFFFFF
##3A57121.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#3C534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a5712;
/* rgb */ color: rgb(58, 87, 18);
/* oklch */ color: oklch(41.9% 0.100 130.0);
Tailwind
colors: {
  custom: {
    50: '#738655',
    500: '#3a5712',
    950: '#000000',
  },
}
SCSS
$custom: #3a5712;
$custom-light: #738655;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5712",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 85.217,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41886,
    "c": 0.10046,
    "h": 130
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#3A5712
secondary
#5B3590
accent
#3FE986
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5712

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

Preview Lab → · Contrast checker → · Palette generator →

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