#48931F#48931F

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

Color values

HEX#48931F
RGBrgb(72, 147, 31)
HSLhsl(99, 65%, 35%)
HSVhsv(99, 79%, 58%)
CMYKcmyk(51%, 0%, 78.9%, 42.4%)
CIE-LABlab(54.39, -43.47, 50.20)
CIE-LCHlch(54.39, 66.41, 130.90°)
OKLaboklab(59.24% -0.1207 0.1118)
OKLCHoklch(59.24% 0.165 137.2)
XYZxyz(13.3531, 22.3431, 4.9051)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48931F #6A1F93
analogous
#82931F #48931F #1F9330
triadic
#48931F #1F4893 #931F48
tetradic
#48931F #1F8293 #6A1F93 #93301F
square
#48931F #1F8293 #6A1F93 #93301F
split-complementary
#48931F #301F93 #931F82
monochromatic
#162E0A #2F6014 #48931F #61C62A #82DA52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48931F#FFFFFF#000000##000000
##48931F1.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)
#8E802C
Tritanopia (blue-blind)
#438E7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #48931f;
/* rgb */ color: rgb(72, 147, 31);
/* oklch */ color: oklch(59.2% 0.165 137.2);
Tailwind
colors: {
  custom: {
    50: '#83b364',
    500: '#48931f',
    950: '#000000',
  },
}
SCSS
$custom: #48931f;
$custom-light: #83b364;
$custom-dark: #000000;
JSON
{
  "hex": "#48931f",
  "rgb": {
    "r": 72,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 98.793,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.16451,
    "h": 137.2
  },
  "luminance": 0.22344
}

Semantic roles & 50–950 ramp

primary
#48931F
secondary
#9750BE
accent
#40E8AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #48931F

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

Preview Lab → · Contrast checker → · Palette generator →

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