#48931C#48931C

#48931C is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.2% C 0.166 H 136.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#48931C
RGBrgb(72, 147, 28)
HSLhsl(98, 68%, 34%)
HSVhsv(98, 81%, 58%)
CMYKcmyk(51%, 0%, 81%, 42.4%)
CIE-LABlab(54.37, -43.65, 51.14)
CIE-LCHlch(54.37, 67.24, 130.48°)
OKLaboklab(59.22% -0.1213 0.1133)
OKLCHoklch(59.22% 0.166 136.9)
XYZxyz(13.3154, 22.3280, 4.7065)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48931C #671C93
analogous
#84931C #48931C #1C932C
triadic
#48931C #1C4893 #931C48
tetradic
#48931C #1C8493 #671C93 #932C1C
square
#48931C #1C8493 #671C93 #932C1C
split-complementary
#48931C #2C1C93 #931C84
monochromatic
#162C08 #2F6012 #48931C #61C626 #82DD4C

Accessibility & contrast

On white

3.84
#48931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#48931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48931C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48931C#FFFFFF#000000##000000
##48931C1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8E802A
Tritanopia (blue-blind)
#438D7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #48931c;
/* rgb */ color: rgb(72, 147, 28);
/* oklch */ color: oklch(59.2% 0.166 136.9);
Tailwind
colors: {
  custom: {
    50: '#83b363',
    500: '#48931c',
    950: '#000000',
  },
}
SCSS
$custom: #48931c;
$custom-light: #83b363;
$custom-dark: #000000;
JSON
{
  "hex": "#48931c",
  "rgb": {
    "r": 72,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 97.815,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59219,
    "c": 0.16603,
    "h": 136.9
  },
  "luminance": 0.22329
}

Semantic roles & 50–950 ramp

primary
#48931C
secondary
#944CBF
accent
#3DEBAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #48931C

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

Preview Lab → · Contrast checker → · Palette generator →

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