#48802B#48802B

#48802B is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.132 H 136.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#48802B
RGBrgb(72, 128, 43)
HSLhsl(100, 50%, 34%)
HSVhsv(100, 66%, 50%)
CMYKcmyk(43.8%, 0%, 66.4%, 49.8%)
CIE-LABlab(48.25, -34.55, 39.18)
CIE-LCHlch(48.25, 52.24, 131.40°)
OKLaboklab(54.22% -0.0957 0.0904)
OKLCHoklch(54.22% 0.132 136.6)
XYZxyz(10.8274, 16.9899, 4.9939)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48802B #632B80
analogous
#72802B #48802B #2B8038
triadic
#48802B #2B4880 #802B48
tetradic
#48802B #2B7280 #632B80 #80382B
square
#48802B #2B7280 #632B80 #80382B
split-complementary
#48802B #382B80 #802B72
monochromatic
#14240C #2E521C #48802B #62AE3A #82C95D

Accessibility & contrast

On white

4.77
#48802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#48802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48802B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48802B#FFFFFF#000000##FFFFFF
##48802B1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847620
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#467B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #48802b;
/* rgb */ color: rgb(72, 128, 43);
/* oklch */ color: oklch(54.2% 0.132 136.6);
Tailwind
colors: {
  custom: {
    50: '#80a568',
    500: '#48802b',
    950: '#000000',
  },
}
SCSS
$custom: #48802b;
$custom-light: #80a568;
$custom-dark: #000000;
JSON
{
  "hex": "#48802b",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 99.529,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.13164,
    "h": 136.6
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#48802B
secondary
#9158AE
accent
#4FD9AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #48802B

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

Preview Lab → · Contrast checker → · Palette generator →

#48802B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva