#48831F#48831F

#48831F is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.9% C 0.144 H 135.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#48831F
RGBrgb(72, 131, 31)
HSLhsl(95, 62%, 32%)
HSVhsv(95, 76%, 51%)
CMYKcmyk(45%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.14, -36.85, 45.10)
CIE-LCHlch(49.14, 58.24, 129.25°)
OKLaboklab(54.92% -0.1028 0.1012)
OKLCHoklch(54.92% 0.144 135.5)
XYZxyz(11.0358, 17.7086, 4.1327)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48831F #5A1F83
analogous
#7A831F #48831F #1F8328
triadic
#48831F #1F4883 #831F48
tetradic
#48831F #1F7A83 #5A1F83 #83281F
square
#48831F #1F7A83 #5A1F83 #83281F
split-complementary
#48831F #281F83 #831F7A
monochromatic
#122008 #2D5213 #48831F #63B42B #82D449

Accessibility & contrast

On white

4.62
#48831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#48831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #48831F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48831F#FFFFFF#000000##FFFFFF
##48831F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#467E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #48831f;
/* rgb */ color: rgb(72, 131, 31);
/* oklch */ color: oklch(54.9% 0.144 135.5);
Tailwind
colors: {
  custom: {
    50: '#81a762',
    500: '#48831f',
    950: '#000000',
  },
}
SCSS
$custom: #48831f;
$custom-light: #81a762;
$custom-dark: #000000;
JSON
{
  "hex": "#48831f",
  "rgb": {
    "r": 72,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 95.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.14424,
    "h": 135.5
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#48831F
secondary
#8948B6
accent
#43E5A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #48831F

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

Preview Lab → · Contrast checker → · Palette generator →

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