#48981F#48981F

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

Color values

HEX#48981F
RGBrgb(72, 152, 31)
HSLhsl(100, 66%, 36%)
HSVhsv(100, 80%, 60%)
CMYKcmyk(52.6%, 0%, 79.6%, 40.4%)
CIE-LABlab(56.02, -45.45, 51.75)
CIE-LCHlch(56.02, 68.87, 131.29°)
OKLaboklab(60.58% -0.126 0.1151)
OKLCHoklch(60.58% 0.171 137.6)
XYZxyz(14.1476, 23.9321, 5.1699)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48981F #6F1F98
analogous
#84981F #48981F #1F9832
triadic
#48981F #1F4898 #981F48
tetradic
#48981F #1F8498 #6F1F98 #98321F
square
#48981F #1F8498 #6F1F98 #98321F
split-complementary
#48981F #321F98 #981F84
monochromatic
#18320A #306515 #48981F #60CB29 #83DC55

Accessibility & contrast

On white

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

On black

5.79
#48981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48981F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48981F#FFFFFF#000000##000000
##48981F1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48981f;
/* rgb */ color: rgb(72, 152, 31);
/* oklch */ color: oklch(60.6% 0.171 137.6);
Tailwind
colors: {
  custom: {
    50: '#84b765',
    500: '#48981f',
    950: '#000000',
  },
}
SCSS
$custom: #48981f;
$custom-light: #84b765;
$custom-dark: #000000;
JSON
{
  "hex": "#48981f",
  "rgb": {
    "r": 72,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 99.669,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6058,
    "c": 0.17061,
    "h": 137.6
  },
  "luminance": 0.23933
}

Semantic roles & 50–950 ramp

primary
#48981F
secondary
#9B53C0
accent
#3FE9AF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48981F

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

Preview Lab → · Contrast checker → · Palette generator →

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