#48781A#48781A

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

Color values

HEX#48781A
RGBrgb(72, 120, 26)
HSLhsl(91, 64%, 29%)
HSVhsv(91, 78%, 47%)
CMYKcmyk(40%, 0%, 78.3%, 52.9%)
CIE-LABlab(45.48, -32.33, 43.35)
CIE-LCHlch(45.48, 54.08, 126.71°)
OKLaboklab(51.91% -0.091 0.0967)
OKLCHoklch(51.91% 0.133 133.3)
XYZxyz(9.5753, 14.8848, 3.3456)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48781A #4A1A78
analogous
#77781A #48781A #1A781B
triadic
#48781A #1A4878 #781A48
tetradic
#48781A #1A7778 #4A1A78 #781B1A
square
#48781A #1A7778 #4A1A78 #781B1A
split-complementary
#48781A #1B1A78 #781A77
monochromatic
#0F1905 #2A460F #48781A #66AA25 #85D438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48781A#FFFFFF#000000##FFFFFF
##48781A1.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)
#7D6E05
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#487366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #48781a;
/* rgb */ color: rgb(72, 120, 26);
/* oklch */ color: oklch(51.9% 0.133 133.3);
Tailwind
colors: {
  custom: {
    50: '#809f5e',
    500: '#48781a',
    950: '#000000',
  },
}
SCSS
$custom: #48781a;
$custom-light: #809f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#48781a",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 90.638,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.13278,
    "h": 133.3
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#48781A
secondary
#7841AC
accent
#40E796
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #48781A

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

Preview Lab → · Contrast checker → · Palette generator →

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