#3A541B#3A541B

#3A541B is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.1% C 0.089 H 130.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3A541B
RGBrgb(58, 84, 27)
HSLhsl(87, 51%, 22%)
HSVhsv(87, 68%, 33%)
CMYKcmyk(31%, 0%, 67.9%, 67.1%)
CIE-LABlab(32.52, -20.40, 29.35)
CIE-LCHlch(32.52, 35.75, 124.80°)
OKLaboklab(41.14% -0.0574 0.0677)
OKLCHoklch(41.14% 0.089 130.3)
XYZxyz(5.1130, 7.3192, 2.1801)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A541B #351B54
analogous
#54521B #3A541B #1E541B
triadic
#3A541B #1B3A54 #541B3A
tetradic
#3A541B #1B5452 #351B54 #541B1E
square
#3A541B #1B5452 #351B54 #541B1E
split-complementary
#3A541B #1B1E54 #521B54
monochromatic
#101707 #1A260C #3A541B #5A822A #7AB139

Accessibility & contrast

On white

8.52
#3A541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A541B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A541B#FFFFFF#000000##FFFFFF
##3A541B1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E14
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#3B5048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a541b;
/* rgb */ color: rgb(58, 84, 27);
/* oklch */ color: oklch(41.1% 0.089 130.3);
Tailwind
colors: {
  custom: {
    50: '#72845a',
    500: '#3a541b',
    950: '#000000',
  },
}
SCSS
$custom: #3a541b;
$custom-light: #72845a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a541b",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 87.368,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.08879,
    "h": 130.3
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#3A541B
secondary
#62418A
accent
#4DDB8E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A541B

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

Preview Lab → · Contrast checker → · Palette generator →

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