#3A5412#3A5412

#3A5412 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.096 H 128.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3A5412
RGBrgb(58, 84, 18)
HSLhsl(84, 65%, 20%)
HSVhsv(84, 79%, 33%)
CMYKcmyk(31%, 0%, 78.6%, 67.1%)
CIE-LABlab(32.44, -21.16, 33.41)
CIE-LCHlch(32.44, 39.54, 122.35°)
OKLaboklab(41.05% -0.0604 0.0749)
OKLCHoklch(41.05% 0.096 128.9)
XYZxyz(5.0244, 7.2837, 1.7133)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5412 #2C1254
analogous
#544D12 #3A5412 #195412
triadic
#3A5412 #123A54 #54123A
tetradic
#3A5412 #12544D #2C1254 #541219
square
#3A5412 #12544D #2C1254 #541219
split-complementary
#3A5412 #121954 #4D1254
monochromatic
#111905 #172207 #3A5412 #5D861D #80B928

Accessibility & contrast

On white

8.55
#3A5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5412
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5412#FFFFFF#000000##FFFFFF
##3A54121.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#3C5047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a5412;
/* rgb */ color: rgb(58, 84, 18);
/* oklch */ color: oklch(41.0% 0.096 128.9);
Tailwind
colors: {
  custom: {
    50: '#738455',
    500: '#3a5412',
    950: '#000000',
  },
}
SCSS
$custom: #3a5412;
$custom-light: #738455;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5412",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 83.636,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.41046,
    "c": 0.09616,
    "h": 128.9
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#3A5412
secondary
#58358D
accent
#40E882
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5412

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

Preview Lab → · Contrast checker → · Palette generator →

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