#48981A#48981A

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

Color values

HEX#48981A
RGBrgb(72, 152, 26)
HSLhsl(98, 71%, 35%)
HSVhsv(98, 83%, 60%)
CMYKcmyk(52.6%, 0%, 82.9%, 40.4%)
CIE-LABlab(56.00, -45.72, 53.24)
CIE-LCHlch(56.00, 70.18, 130.66°)
OKLaboklab(60.55% -0.127 0.1174)
OKLCHoklch(60.55% 0.173 137.2)
XYZxyz(14.0867, 23.9077, 4.8494)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48981A #6A1A98
analogous
#87981A #48981A #1A982B
triadic
#48981A #1A4898 #981A48
tetradic
#48981A #1A8798 #6A1A98 #982B1A
square
#48981A #1A8798 #6A1A98 #982B1A
split-complementary
#48981A #2B1A98 #981A87
monochromatic
#162F08 #2F6411 #48981A #61CC23 #82E04C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48981A#FFFFFF#000000##000000
##48981A1.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)
#93842A
Tritanopia (blue-blind)
#439281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #48981a;
/* rgb */ color: rgb(72, 152, 26);
/* oklch */ color: oklch(60.6% 0.173 137.2);
Tailwind
colors: {
  custom: {
    50: '#84b763',
    500: '#48981a',
    950: '#000000',
  },
}
SCSS
$custom: #48981a;
$custom-light: #84b763;
$custom-dark: #000000;
JSON
{
  "hex": "#48981a",
  "rgb": {
    "r": 72,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 98.095,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60552,
    "c": 0.17296,
    "h": 137.2
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#48981A
secondary
#974BC2
accent
#3AEEAC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48981A

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

Preview Lab → · Contrast checker → · Palette generator →

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