#48811C#48811C

#48811C is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.143 H 134.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#48811C
RGBrgb(72, 129, 28)
HSLhsl(94, 64%, 31%)
HSVhsv(94, 78%, 51%)
CMYKcmyk(44.2%, 0%, 78.3%, 49.4%)
CIE-LABlab(48.46, -36.19, 45.52)
CIE-LCHlch(48.46, 58.16, 128.48°)
OKLaboklab(54.36% -0.1013 0.1016)
OKLCHoklch(54.36% 0.143 134.9)
XYZxyz(10.7321, 17.1615, 3.8454)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48811C #551C81
analogous
#7A811C #48811C #1C8122
triadic
#48811C #1C4881 #811C48
tetradic
#48811C #1C7A81 #551C81 #81221C
square
#48811C #1C7A81 #551C81 #81221C
split-complementary
#48811C #221C81 #811C7A
monochromatic
#101C06 #2C4F11 #48811C #64B327 #82D642

Accessibility & contrast

On white

4.74
#48811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#48811C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48811C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48811C#FFFFFF#000000##FFFFFF
##48811C1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#477C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #48811c;
/* rgb */ color: rgb(72, 129, 28);
/* oklch */ color: oklch(54.4% 0.143 134.9);
Tailwind
colors: {
  custom: {
    50: '#80a660',
    500: '#48811c',
    950: '#000000',
  },
}
SCSS
$custom: #48811c;
$custom-light: #80a660;
$custom-dark: #000000;
JSON
{
  "hex": "#48811c",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 93.861,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.14342,
    "h": 134.9
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#48811C
secondary
#8444B4
accent
#40E79F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #48811C

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

Preview Lab → · Contrast checker → · Palette generator →

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