#4A580D#4A580D

#4A580D is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.4% C 0.096 H 120.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4A580D
RGBrgb(74, 88, 13)
HSLhsl(71, 74%, 20%)
HSVhsv(71, 85%, 35%)
CMYKcmyk(15.9%, 0%, 85.2%, 65.5%)
CIE-LABlab(34.93, -16.26, 38.04)
CIE-LCHlch(34.93, 41.37, 113.14°)
OKLaboklab(43.35% -0.0485 0.0832)
OKLCHoklch(43.35% 0.096 120.2)
XYZxyz(6.3865, 8.4644, 1.6780)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A580D #1B0D58
analogous
#58410D #4A580D #25580D
triadic
#4A580D #0D4A58 #580D4A
tetradic
#4A580D #0D5841 #1B0D58 #580D25
square
#4A580D #0D5841 #1B0D58 #580D25
split-complementary
#4A580D #0D2558 #410D58
monochromatic
#161B04 #1D2305 #4A580D #778D15 #A4C31D

Accessibility & contrast

On white

7.80
#4A580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4A580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A580D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A580D#FFFFFF#000000##FFFFFF
##4A580D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#4F534A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a580d;
/* rgb */ color: rgb(74, 88, 13);
/* oklch */ color: oklch(43.4% 0.096 120.2);
Tailwind
colors: {
  custom: {
    50: '#7f8754',
    500: '#4a580d',
    950: '#000000',
  },
}
SCSS
$custom: #4a580d;
$custom-light: #7f8754;
$custom-dark: #000000;
JSON
{
  "hex": "#4a580d",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 71.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.09629,
    "h": 120.2
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#4A580D
secondary
#412E93
accent
#37F15A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A580D

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

Preview Lab → · Contrast checker → · Palette generator →

#4A580D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva