#48801C#48801C

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

Color values

HEX#48801C
RGBrgb(72, 128, 28)
HSLhsl(94, 64%, 31%)
HSVhsv(94, 78%, 50%)
CMYKcmyk(43.8%, 0%, 78.1%, 49.8%)
CIE-LABlab(48.13, -35.76, 45.21)
CIE-LCHlch(48.13, 57.64, 128.34°)
OKLaboklab(54.09% -0.1001 0.1009)
OKLCHoklch(54.09% 0.142 134.8)
XYZxyz(10.6010, 16.8993, 3.8017)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48801C #541C80
analogous
#7A801C #48801C #1C8022
triadic
#48801C #1C4880 #801C48
tetradic
#48801C #1C7A80 #541C80 #80221C
square
#48801C #1C7A80 #541C80 #80221C
split-complementary
#48801C #221C80 #801C7A
monochromatic
#101C06 #2C4E11 #48801C #64B227 #82D541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48801C#FFFFFF#000000##FFFFFF
##48801C1.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)
#857505
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#477B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #48801c;
/* rgb */ color: rgb(72, 128, 28);
/* oklch */ color: oklch(54.1% 0.142 134.8);
Tailwind
colors: {
  custom: {
    50: '#80a560',
    500: '#48801c',
    950: '#000000',
  },
}
SCSS
$custom: #48801c;
$custom-light: #80a560;
$custom-dark: #000000;
JSON
{
  "hex": "#48801c",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 93.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.14212,
    "h": 134.8
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#48801C
secondary
#8344B3
accent
#41E79E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #48801C

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

Preview Lab → · Contrast checker → · Palette generator →

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