#4B580F#4B580F

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

Color values

HEX#4B580F
RGBrgb(75, 88, 15)
HSLhsl(71, 71%, 20%)
HSVhsv(71, 83%, 35%)
CMYKcmyk(14.8%, 0%, 83%, 65.5%)
CIE-LABlab(35.02, -15.69, 37.47)
CIE-LCHlch(35.02, 40.62, 112.72°)
OKLaboklab(43.45% -0.0468 0.0823)
OKLCHoklch(43.45% 0.095 119.6)
XYZxyz(6.4777, 8.5098, 1.7532)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B580F #1C0F58
analogous
#58400F #4B580F #26580F
triadic
#4B580F #0F4B58 #580F4B
tetradic
#4B580F #0F5840 #1C0F58 #580F26
square
#4B580F #0F5840 #1C0F58 #580F26
split-complementary
#4B580F #0F2658 #400F58
monochromatic
#161A04 #1E2406 #4B580F #788C18 #A4C121

Accessibility & contrast

On white

7.77
#4B580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4B580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B580F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B580F#FFFFFF#000000##FFFFFF
##4B580F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#50534A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4b580f;
/* rgb */ color: rgb(75, 88, 15);
/* oklch */ color: oklch(43.5% 0.095 119.6);
Tailwind
colors: {
  custom: {
    50: '#808754',
    500: '#4b580f',
    950: '#000000',
  },
}
SCSS
$custom: #4b580f;
$custom-light: #808754;
$custom-dark: #000000;
JSON
{
  "hex": "#4b580f",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 70.685,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.0947,
    "h": 119.6
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#4B580F
secondary
#423192
accent
#3AEE5A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B580F

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

Preview Lab → · Contrast checker → · Palette generator →

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