#48580F#48580F

#48580F is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.2% C 0.096 H 121.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#48580F
RGBrgb(72, 88, 15)
HSLhsl(73, 71%, 20%)
HSVhsv(73, 83%, 35%)
CMYKcmyk(18.2%, 0%, 83%, 65.5%)
CIE-LABlab(34.79, -17.11, 37.16)
CIE-LCHlch(34.79, 40.91, 114.72°)
OKLaboklab(43.2% -0.0505 0.0818)
OKLCHoklch(43.2% 0.096 121.7)
XYZxyz(6.2485, 8.3916, 1.7424)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48580F #1F0F58
analogous
#58440F #48580F #23580F
triadic
#48580F #0F4858 #580F48
tetradic
#48580F #0F5844 #1F0F58 #580F23
square
#48580F #0F5844 #1F0F58 #580F23
split-complementary
#48580F #0F2358 #440F58
monochromatic
#151A04 #1D2406 #48580F #738C18 #9EC121

Accessibility & contrast

On white

7.84
#48580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#48580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48580F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48580F#FFFFFF#000000##FFFFFF
##48580F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48580f;
/* rgb */ color: rgb(72, 88, 15);
/* oklch */ color: oklch(43.2% 0.096 121.7);
Tailwind
colors: {
  custom: {
    50: '#7e8754',
    500: '#48580f',
    950: '#000000',
  },
}
SCSS
$custom: #48580f;
$custom-light: #7e8754;
$custom-dark: #000000;
JSON
{
  "hex": "#48580f",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 73.151,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43198,
    "c": 0.09612,
    "h": 121.7
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#48580F
secondary
#463192
accent
#3AEE62
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #48580F

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

Preview Lab → · Contrast checker → · Palette generator →

#48580F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva