#48951F#48951F

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

Color values

HEX#48951F
RGBrgb(72, 149, 31)
HSLhsl(99, 66%, 35%)
HSVhsv(99, 79%, 58%)
CMYKcmyk(51.7%, 0%, 79.2%, 41.6%)
CIE-LABlab(55.04, -44.27, 50.82)
CIE-LCHlch(55.04, 67.40, 131.06°)
OKLaboklab(59.77% -0.1228 0.1131)
OKLCHoklch(59.77% 0.167 137.3)
XYZxyz(13.6668, 22.9705, 5.0096)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48951F #6C1F95
analogous
#83951F #48951F #1F9531
triadic
#48951F #1F4895 #951F48
tetradic
#48951F #1F8395 #6C1F95 #95311F
square
#48951F #1F8395 #6C1F95 #95311F
split-complementary
#48951F #311F95 #951F83
monochromatic
#17300A #306214 #48951F #60C82A #82DB53

Accessibility & contrast

On white

3.75
#48951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##48951F#FFFFFF#000000##000000
##48951F1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48951f;
/* rgb */ color: rgb(72, 149, 31);
/* oklch */ color: oklch(59.8% 0.167 137.3);
Tailwind
colors: {
  custom: {
    50: '#83b565',
    500: '#48951f',
    950: '#000000',
  },
}
SCSS
$custom: #48951f;
$custom-light: #83b565;
$custom-dark: #000000;
JSON
{
  "hex": "#48951f",
  "rgb": {
    "r": 72,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 99.153,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.16696,
    "h": 137.3
  },
  "luminance": 0.22972
}

Semantic roles & 50–950 ramp

primary
#48951F
secondary
#9951BF
accent
#3FE9AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #48951F

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

Preview Lab → · Contrast checker → · Palette generator →

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