#3A480B#3A480B

#3A480B is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.084 H 122.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3A480B
RGBrgb(58, 72, 11)
HSLhsl(74, 73%, 16%)
HSVhsv(74, 85%, 28%)
CMYKcmyk(19.4%, 0%, 84.7%, 71.8%)
CIE-LABlab(28.27, -15.14, 32.17)
CIE-LCHlch(28.27, 35.55, 115.20°)
OKLaboklab(37.65% -0.0446 0.0709)
OKLCHoklch(37.65% 0.084 122.1)
XYZxyz(4.1228, 5.5584, 1.1722)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A480B #190B48
analogous
#48380B #3A480B #1C480B
triadic
#3A480B #0B3A48 #480B3A
tetradic
#3A480B #0B4838 #190B48 #480B1C
square
#3A480B #0B4838 #190B48 #480B1C
split-complementary
#3A480B #0B1C48 #380B48
monochromatic
#151B04 #151B04 #3A480B #657D13 #90B21B

Accessibility & contrast

On white

9.95
#3A480B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A480B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A480B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A480B#FFFFFF#000000##FFFFFF
##3A480B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4301
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#3E443D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a480b;
/* rgb */ color: rgb(58, 72, 11);
/* oklch */ color: oklch(37.6% 0.084 122.1);
Tailwind
colors: {
  custom: {
    50: '#727b50',
    500: '#3a480b',
    950: '#000000',
  },
}
SCSS
$custom: #3a480b;
$custom-light: #727b50;
$custom-dark: #000000;
JSON
{
  "hex": "#3a480b",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 11
  },
  "hsl": {
    "h": 73.77,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.08377,
    "h": 122.1
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#3A480B
secondary
#3F2A84
accent
#38F062
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A480B

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

Preview Lab → · Contrast checker → · Palette generator →

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