#48981C#48981C

#48981C is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.6% C 0.172 H 137.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#48981C
RGBrgb(72, 152, 28)
HSLhsl(99, 69%, 35%)
HSVhsv(99, 82%, 60%)
CMYKcmyk(52.6%, 0%, 81.6%, 40.4%)
CIE-LABlab(56.00, -45.62, 52.66)
CIE-LCHlch(56.00, 69.67, 130.90°)
OKLaboklab(60.56% -0.1266 0.1165)
OKLCHoklch(60.56% 0.172 137.4)
XYZxyz(14.1099, 23.9170, 4.9713)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48981C #6C1C98
analogous
#86981C #48981C #1C982E
triadic
#48981C #1C4898 #981C48
tetradic
#48981C #1C8698 #6C1C98 #982E1C
square
#48981C #1C8698 #6C1C98 #982E1C
split-complementary
#48981C #2E1C98 #981C86
monochromatic
#173109 #306412 #48981C #60CC26 #82DF50

Accessibility & contrast

On white

3.63
#48981C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#48981C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48981C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48981C#FFFFFF#000000##000000
##48981C1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#429281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #48981c;
/* rgb */ color: rgb(72, 152, 28);
/* oklch */ color: oklch(60.6% 0.172 137.4);
Tailwind
colors: {
  custom: {
    50: '#84b764',
    500: '#48981c',
    950: '#000000',
  },
}
SCSS
$custom: #48981c;
$custom-light: #84b764;
$custom-dark: #000000;
JSON
{
  "hex": "#48981c",
  "rgb": {
    "r": 72,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 98.71,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.17207,
    "h": 137.4
  },
  "luminance": 0.23918
}

Semantic roles & 50–950 ramp

primary
#48981C
secondary
#994EC1
accent
#3CECAD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48981C

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

Preview Lab → · Contrast checker → · Palette generator →

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