#3A480F#3A480F

#3A480F is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.081 H 122.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3A480F
RGBrgb(58, 72, 15)
HSLhsl(75, 66%, 17%)
HSVhsv(75, 79%, 28%)
CMYKcmyk(19.4%, 0%, 79.2%, 71.8%)
CIE-LABlab(28.30, -14.89, 30.57)
CIE-LCHlch(28.30, 34.00, 115.97°)
OKLaboklab(37.68% -0.0435 0.0683)
OKLCHoklch(37.68% 0.081 122.5)
XYZxyz(4.1486, 5.5687, 1.3082)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A480F #1D0F48
analogous
#483A0F #3A480F #1E480F
triadic
#3A480F #0F3A48 #480F3A
tetradic
#3A480F #0F483A #1D0F48 #480F1E
square
#3A480F #0F483A #1D0F48 #480F1E
split-complementary
#3A480F #0F1E48 #3A0F48
monochromatic
#141905 #141905 #3A480F #637B1A #8CAD24

Accessibility & contrast

On white

9.93
#3A480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A480F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A480F#FFFFFF#000000##FFFFFF
##3A480F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4306
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#3D443D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a480f;
/* rgb */ color: rgb(58, 72, 15);
/* oklch */ color: oklch(37.7% 0.081 122.5);
Tailwind
colors: {
  custom: {
    50: '#727b52',
    500: '#3a480f',
    950: '#000000',
  },
}
SCSS
$custom: #3a480f;
$custom-light: #727b52;
$custom-dark: #000000;
JSON
{
  "hex": "#3a480f",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 74.737,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37679,
    "c": 0.08101,
    "h": 122.5
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#3A480F
secondary
#453082
accent
#3FE869
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A480F

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

Preview Lab → · Contrast checker → · Palette generator →

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