#48801F#48801F

#48801F is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.140 H 135.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#48801F
RGBrgb(72, 128, 31)
HSLhsl(95, 61%, 31%)
HSVhsv(95, 76%, 50%)
CMYKcmyk(43.8%, 0%, 75.8%, 49.8%)
CIE-LABlab(48.15, -35.55, 44.12)
CIE-LCHlch(48.15, 56.66, 128.86°)
OKLaboklab(54.11% -0.0993 0.0991)
OKLCHoklch(54.11% 0.14 135.1)
XYZxyz(10.6387, 16.9144, 4.0003)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48801F #571F80
analogous
#78801F #48801F #1F8026
triadic
#48801F #1F4880 #801F48
tetradic
#48801F #1F7880 #571F80 #80261F
square
#48801F #1F7880 #571F80 #80261F
split-complementary
#48801F #261F80 #801F78
monochromatic
#111D07 #2C4F13 #48801F #64B12B #82D247

Accessibility & contrast

On white

4.79
#48801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#48801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48801F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48801F#FFFFFF#000000##FFFFFF
##48801F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7D7129
Tritanopia (blue-blind)
#477B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #48801f;
/* rgb */ color: rgb(72, 128, 31);
/* oklch */ color: oklch(54.1% 0.140 135.1);
Tailwind
colors: {
  custom: {
    50: '#80a562',
    500: '#48801f',
    950: '#000000',
  },
}
SCSS
$custom: #48801f;
$custom-light: #80a562;
$custom-dark: #000000;
JSON
{
  "hex": "#48801f",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 94.639,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.1403,
    "h": 135.1
  },
  "luminance": 0.16915
}

Semantic roles & 50–950 ramp

primary
#48801F
secondary
#8648B3
accent
#44E4A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #48801F

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

Preview Lab → · Contrast checker → · Palette generator →

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