#48781B#48781B

#48781B is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.9% C 0.132 H 133.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#48781B
RGBrgb(72, 120, 27)
HSLhsl(91, 63%, 29%)
HSVhsv(91, 78%, 47%)
CMYKcmyk(40%, 0%, 77.5%, 52.9%)
CIE-LABlab(45.48, -32.27, 42.99)
CIE-LCHlch(45.48, 53.75, 126.89°)
OKLaboklab(51.92% -0.0907 0.0961)
OKLCHoklch(51.92% 0.132 133.3)
XYZxyz(9.5866, 14.8893, 3.4055)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48781B #4B1B78
analogous
#77781B #48781B #1B781D
triadic
#48781B #1B4878 #781B48
tetradic
#48781B #1B7778 #4B1B78 #781D1B
square
#48781B #1B7778 #4B1B78 #781D1B
split-complementary
#48781B #1D1B78 #781B77
monochromatic
#0F1906 #2A4610 #48781B #66AA26 #84D33B

Accessibility & contrast

On white

5.28
#48781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#48781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48781B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48781B#FFFFFF#000000##FFFFFF
##48781B1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#487366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #48781b;
/* rgb */ color: rgb(72, 120, 27);
/* oklch */ color: oklch(51.9% 0.132 133.3);
Tailwind
colors: {
  custom: {
    50: '#7f9f5f',
    500: '#48781b',
    950: '#000000',
  },
}
SCSS
$custom: #48781b;
$custom-light: #7f9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#48781b",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 90.968,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.13217,
    "h": 133.3
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#48781B
secondary
#7943AC
accent
#41E697
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48781B

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

Preview Lab → · Contrast checker → · Palette generator →

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