#48981B#48981B

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

Color values

HEX#48981B
RGBrgb(72, 152, 27)
HSLhsl(98, 70%, 35%)
HSVhsv(98, 82%, 60%)
CMYKcmyk(52.6%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.00, -45.67, 52.95)
CIE-LCHlch(56.00, 69.93, 130.78°)
OKLaboklab(60.56% -0.1268 0.117)
OKLCHoklch(60.56% 0.173 137.3)
XYZxyz(14.0981, 23.9123, 4.9093)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48981B #6B1B98
analogous
#86981B #48981B #1B982D
triadic
#48981B #1B4898 #981B48
tetradic
#48981B #1B8698 #6B1B98 #982D1B
square
#48981B #1B8698 #6B1B98 #982D1B
split-complementary
#48981B #2D1B98 #981B86
monochromatic
#173009 #2F6412 #48981B #61CC24 #82E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48981B#FFFFFF#000000##000000
##48981B1.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: #48981b;
/* rgb */ color: rgb(72, 152, 27);
/* oklch */ color: oklch(60.6% 0.173 137.3);
Tailwind
colors: {
  custom: {
    50: '#84b763',
    500: '#48981b',
    950: '#000000',
  },
}
SCSS
$custom: #48981b;
$custom-light: #84b763;
$custom-dark: #000000;
JSON
{
  "hex": "#48981b",
  "rgb": {
    "r": 72,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 98.4,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60557,
    "c": 0.17252,
    "h": 137.3
  },
  "luminance": 0.23913
}

Semantic roles & 50–950 ramp

primary
#48981B
secondary
#984DC2
accent
#3BEDAD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48981B

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

Preview Lab → · Contrast checker → · Palette generator →

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