#48831B#48831B

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

Color values

HEX#48831B
RGBrgb(72, 131, 27)
HSLhsl(94, 66%, 31%)
HSVhsv(94, 79%, 51%)
CMYKcmyk(45%, 0%, 79.4%, 48.6%)
CIE-LABlab(49.12, -37.11, 46.50)
CIE-LCHlch(49.12, 59.49, 128.59°)
OKLaboklab(54.9% -0.1038 0.1035)
OKLCHoklch(54.9% 0.147 135.1)
XYZxyz(10.9864, 17.6888, 3.8721)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48831B #561B83
analogous
#7C831B #48831B #1B8322
triadic
#48831B #1B4883 #831B48
tetradic
#48831B #1B7C83 #561B83 #83221B
square
#48831B #1B7C83 #561B83 #83221B
split-complementary
#48831B #221B83 #831B7C
monochromatic
#101E06 #2C5011 #48831B #64B625 #82D841

Accessibility & contrast

On white

4.63
#48831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #48831B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48831B#FFFFFF#000000##FFFFFF
##48831B1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#467E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #48831b;
/* rgb */ color: rgb(72, 131, 27);
/* oklch */ color: oklch(54.9% 0.147 135.1);
Tailwind
colors: {
  custom: {
    50: '#81a760',
    500: '#48831b',
    950: '#000000',
  },
}
SCSS
$custom: #48831b;
$custom-light: #81a760;
$custom-dark: #000000;
JSON
{
  "hex": "#48831b",
  "rgb": {
    "r": 72,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 94.038,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.14656,
    "h": 135.1
  },
  "luminance": 0.17689
}

Semantic roles & 50–950 ramp

primary
#48831B
secondary
#8543B6
accent
#3FE99F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #48831B

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

Preview Lab → · Contrast checker → · Palette generator →

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