#48781C#48781C

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

Color values

HEX#48781C
RGBrgb(72, 120, 28)
HSLhsl(91, 62%, 29%)
HSVhsv(91, 77%, 47%)
CMYKcmyk(40%, 0%, 76.7%, 52.9%)
CIE-LABlab(45.49, -32.20, 42.62)
CIE-LCHlch(45.49, 53.42, 127.07°)
OKLaboklab(51.93% -0.0905 0.0955)
OKLCHoklch(51.93% 0.132 133.4)
XYZxyz(9.5984, 14.8940, 3.4675)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48781C #4C1C78
analogous
#76781C #48781C #1C781E
triadic
#48781C #1C4878 #781C48
tetradic
#48781C #1C7678 #4C1C78 #781E1C
square
#48781C #1C7678 #4C1C78 #781E1C
split-complementary
#48781C #1E1C78 #781C76
monochromatic
#0F1906 #2A4610 #48781C #66AA28 #84D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48781C#FFFFFF#000000##FFFFFF
##48781C1.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)
#7D6E0A
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#487366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #48781c;
/* rgb */ color: rgb(72, 120, 28);
/* oklch */ color: oklch(51.9% 0.132 133.4);
Tailwind
colors: {
  custom: {
    50: '#7f9f5f',
    500: '#48781c',
    950: '#000000',
  },
}
SCSS
$custom: #48781c;
$custom-light: #7f9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#48781c",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 91.304,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.13156,
    "h": 133.4
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#48781C
secondary
#7A44AC
accent
#43E597
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48781C

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

Preview Lab → · Contrast checker → · Palette generator →

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