#3A5612#3A5612

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

Color values

HEX#3A5612
RGBrgb(58, 86, 18)
HSLhsl(85, 65%, 20%)
HSVhsv(85, 79%, 34%)
CMYKcmyk(32.6%, 0%, 79.1%, 66.3%)
CIE-LABlab(33.13, -22.19, 34.09)
CIE-LCHlch(33.13, 40.67, 123.06°)
OKLaboklab(41.61% -0.0632 0.0763)
OKLCHoklch(41.61% 0.099 129.6)
XYZxyz(5.1819, 7.5986, 1.7658)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5612 #2E1256
analogous
#565012 #3A5612 #185612
triadic
#3A5612 #123A56 #56123A
tetradic
#3A5612 #125650 #2E1256 #561218
square
#3A5612 #125650 #2E1256 #561218
split-complementary
#3A5612 #121856 #501256
monochromatic
#111905 #182307 #3A5612 #5C891D #7EBB27

Accessibility & contrast

On white

8.33
#3A5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A5612
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5612#FFFFFF#000000##FFFFFF
##3A56121.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a5612;
/* rgb */ color: rgb(58, 86, 18);
/* oklch */ color: oklch(41.6% 0.099 129.6);
Tailwind
colors: {
  custom: {
    50: '#738655',
    500: '#3a5612',
    950: '#000000',
  },
}
SCSS
$custom: #3a5612;
$custom-light: #738655;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5612",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 84.706,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41606,
    "c": 0.09903,
    "h": 129.6
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#3A5612
secondary
#5A358F
accent
#3FE885
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5612

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

Preview Lab → · Contrast checker → · Palette generator →

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