#3A480A#3A480A

#3A480A 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#3A480A
RGBrgb(58, 72, 10)
HSLhsl(74, 76%, 16%)
HSVhsv(74, 86%, 28%)
CMYKcmyk(19.4%, 0%, 86.1%, 71.8%)
CIE-LABlab(28.26, -15.19, 32.53)
CIE-LCHlch(28.26, 35.90, 115.04°)
OKLaboklab(37.64% -0.0448 0.0715)
OKLCHoklch(37.64% 0.084 122.1)
XYZxyz(4.1171, 5.5562, 1.1427)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A480A #180A48
analogous
#48370A #3A480A #1B480A
triadic
#3A480A #0A3A48 #480A3A
tetradic
#3A480A #0A4837 #180A48 #480A1B
square
#3A480A #0A4837 #180A48 #480A1B
split-complementary
#3A480A #0A1B48 #370A48
monochromatic
#161B04 #161B04 #3A480A #657E11 #91B319

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A480A#FFFFFF#000000##FFFFFF
##3A480A1.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)
#4D4300
Deuteranopia (green-blind)
#4B4310
Tritanopia (blue-blind)
#3E443D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a480a;
/* rgb */ color: rgb(58, 72, 10);
/* oklch */ color: oklch(37.6% 0.084 122.1);
Tailwind
colors: {
  custom: {
    50: '#737b4f',
    500: '#3a480a',
    950: '#000000',
  },
}
SCSS
$custom: #3a480a;
$custom-light: #737b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a480a",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 10
  },
  "hsl": {
    "h": 73.548,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.37642,
    "c": 0.08438,
    "h": 122.1
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#3A480A
secondary
#3E2985
accent
#36F260
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A480A

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

Preview Lab → · Contrast checker → · Palette generator →

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