#4A580F#4A580F

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

Color values

HEX#4A580F
RGBrgb(74, 88, 15)
HSLhsl(72, 71%, 20%)
HSVhsv(72, 83%, 35%)
CMYKcmyk(15.9%, 0%, 83%, 65.5%)
CIE-LABlab(34.94, -16.16, 37.36)
CIE-LCHlch(34.94, 40.71, 113.39°)
OKLaboklab(43.36% -0.048 0.0822)
OKLCHoklch(43.36% 0.095 120.3)
XYZxyz(6.4001, 8.4698, 1.7495)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A580F #1D0F58
analogous
#58410F #4A580F #25580F
triadic
#4A580F #0F4A58 #580F4A
tetradic
#4A580F #0F5841 #1D0F58 #580F25
square
#4A580F #0F5841 #1D0F58 #580F25
split-complementary
#4A580F #0F2558 #410F58
monochromatic
#161A04 #1E2406 #4A580F #768C18 #A2C121

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A580F#FFFFFF#000000##FFFFFF
##4A580F1.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)
#5C5216
Tritanopia (blue-blind)
#4F534A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a580f;
/* rgb */ color: rgb(74, 88, 15);
/* oklch */ color: oklch(43.4% 0.095 120.3);
Tailwind
colors: {
  custom: {
    50: '#7f8754',
    500: '#4a580f',
    950: '#000000',
  },
}
SCSS
$custom: #4a580f;
$custom-light: #7f8754;
$custom-dark: #000000;
JSON
{
  "hex": "#4a580f",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 71.507,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43365,
    "c": 0.09516,
    "h": 120.3
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#4A580F
secondary
#443192
accent
#3AEE5D
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A580F

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

Preview Lab → · Contrast checker → · Palette generator →

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