#48951B#48951B

#48951B is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 59.8% C 0.169 H 137.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#48951B
RGBrgb(72, 149, 27)
HSLhsl(98, 69%, 35%)
HSVhsv(98, 82%, 58%)
CMYKcmyk(51.7%, 0%, 81.9%, 41.6%)
CIE-LABlab(55.02, -44.50, 52.05)
CIE-LCHlch(55.02, 68.48, 130.53°)
OKLaboklab(59.75% -0.1236 0.1151)
OKLCHoklch(59.75% 0.169 137.1)
XYZxyz(13.6173, 22.9507, 4.7491)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48951B #681B95
analogous
#85951B #48951B #1B952B
triadic
#48951B #1B4895 #951B48
tetradic
#48951B #1B8595 #681B95 #952B1B
square
#48951B #1B8595 #681B95 #952B1B
split-complementary
#48951B #2B1B95 #951B85
monochromatic
#162D08 #2F6112 #48951B #61C924 #82DF4C

Accessibility & contrast

On white

3.76
#48951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#48951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48951B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48951B#FFFFFF#000000##000000
##48951B1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#438F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #48951b;
/* rgb */ color: rgb(72, 149, 27);
/* oklch */ color: oklch(59.8% 0.169 137.1);
Tailwind
colors: {
  custom: {
    50: '#83b563',
    500: '#48951b',
    950: '#000000',
  },
}
SCSS
$custom: #48951b;
$custom-light: #83b563;
$custom-dark: #000000;
JSON
{
  "hex": "#48951b",
  "rgb": {
    "r": 72,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 97.869,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.16892,
    "h": 137.1
  },
  "luminance": 0.22952
}

Semantic roles & 50–950 ramp

primary
#48951B
secondary
#954BC1
accent
#3CECAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48951B

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

Preview Lab → · Contrast checker → · Palette generator →

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