#48781E#48781E

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

Color values

HEX#48781E
RGBrgb(72, 120, 30)
HSLhsl(92, 60%, 29%)
HSVhsv(92, 75%, 47%)
CMYKcmyk(40%, 0%, 75%, 52.9%)
CIE-LABlab(45.50, -32.06, 41.86)
CIE-LCHlch(45.50, 52.73, 127.44°)
OKLaboklab(51.94% -0.0899 0.0942)
OKLCHoklch(51.94% 0.13 133.7)
XYZxyz(9.6231, 14.9039, 3.5977)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48781E #4E1E78
analogous
#75781E #48781E #1E7821
triadic
#48781E #1E4878 #781E48
tetradic
#48781E #1E7578 #4E1E78 #78211E
square
#48781E #1E7578 #4E1E78 #78211E
split-complementary
#48781E #211E78 #781E75
monochromatic
#0F1806 #2B4712 #48781E #65A92A #83CF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48781E#FFFFFF#000000##FFFFFF
##48781E1.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)
#7D6E0E
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#487366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #48781e;
/* rgb */ color: rgb(72, 120, 30);
/* oklch */ color: oklch(51.9% 0.130 133.7);
Tailwind
colors: {
  custom: {
    50: '#7f9f60',
    500: '#48781e',
    950: '#000000',
  },
}
SCSS
$custom: #48781e;
$custom-light: #7f9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#48781e",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 92,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.13026,
    "h": 133.7
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#48781E
secondary
#7C46AC
accent
#45E399
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48781E

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

Preview Lab → · Contrast checker → · Palette generator →

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