#3A4512#3A4512

#3A4512 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.9% C 0.074 H 120.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3A4512
RGBrgb(58, 69, 18)
HSLhsl(73, 59%, 17%)
HSVhsv(73, 74%, 27%)
CMYKcmyk(15.9%, 0%, 73.9%, 72.9%)
CIE-LABlab(27.30, -12.96, 28.18)
CIE-LCHlch(27.30, 31.01, 114.70°)
OKLaboklab(36.88% -0.0378 0.0639)
OKLCHoklch(36.88% 0.074 120.6)
XYZxyz(3.9823, 5.1995, 1.3660)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4512 #1D1245
analogous
#453712 #3A4512 #214512
triadic
#3A4512 #123A45 #45123A
tetradic
#3A4512 #124537 #1D1245 #451221
square
#3A4512 #124537 #1D1245 #451221
split-complementary
#3A4512 #122145 #371245
monochromatic
#141806 #141806 #3A4512 #63761F #8CA62B

Accessibility & contrast

On white

10.30
#3A4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3A4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4512
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4512#FFFFFF#000000##FFFFFF
##3A45121.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#484116
Tritanopia (blue-blind)
#3E413B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a4512;
/* rgb */ color: rgb(58, 69, 18);
/* oklch */ color: oklch(36.9% 0.074 120.6);
Tailwind
colors: {
  custom: {
    50: '#727853',
    500: '#3a4512',
    950: '#000000',
  },
}
SCSS
$custom: #3a4512;
$custom-light: #727853;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4512",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 72.941,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3688,
    "c": 0.07422,
    "h": 120.6
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#3A4512
secondary
#45357E
accent
#46E268
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4512

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

Preview Lab → · Contrast checker → · Palette generator →

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