#48781D#48781D

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

Color values

HEX#48781D
RGBrgb(72, 120, 29)
HSLhsl(92, 61%, 29%)
HSVhsv(92, 76%, 47%)
CMYKcmyk(40%, 0%, 75.8%, 52.9%)
CIE-LABlab(45.50, -32.13, 42.24)
CIE-LCHlch(45.50, 53.07, 127.25°)
OKLaboklab(51.93% -0.0902 0.0949)
OKLCHoklch(51.93% 0.131 133.6)
XYZxyz(9.6106, 14.8989, 3.5316)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48781D #4D1D78
analogous
#76781D #48781D #1D781F
triadic
#48781D #1D4878 #781D48
tetradic
#48781D #1D7678 #4D1D78 #781F1D
square
#48781D #1D7678 #4D1D78 #781F1D
split-complementary
#48781D #1F1D78 #781D76
monochromatic
#0F1906 #2A4711 #48781D #66A929 #84D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48781D#FFFFFF#000000##FFFFFF
##48781D1.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)
#7D6E0C
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#487366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #48781d;
/* rgb */ color: rgb(72, 120, 29);
/* oklch */ color: oklch(51.9% 0.131 133.6);
Tailwind
colors: {
  custom: {
    50: '#7f9f60',
    500: '#48781d',
    950: '#000000',
  },
}
SCSS
$custom: #48781d;
$custom-light: #7f9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#48781d",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 91.648,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.13091,
    "h": 133.6
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#48781D
secondary
#7B45AC
accent
#44E498
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48781D

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

Preview Lab → · Contrast checker → · Palette generator →

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