#48831A#48831A

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

Color values

HEX#48831A
RGBrgb(72, 131, 26)
HSLhsl(94, 67%, 31%)
HSVhsv(94, 80%, 51%)
CMYKcmyk(45%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.11, -37.17, 46.83)
CIE-LCHlch(49.11, 59.79, 128.44°)
OKLaboklab(54.89% -0.104 0.104)
OKLCHoklch(54.89% 0.147 135)
XYZxyz(10.9750, 17.6843, 3.8122)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48831A #551A83
analogous
#7C831A #48831A #1A8320
triadic
#48831A #1A4883 #831A48
tetradic
#48831A #1A7C83 #551A83 #83201A
square
#48831A #1A7C83 #551A83 #83201A
split-complementary
#48831A #201A83 #831A7C
monochromatic
#101D06 #2C5010 #48831A #64B624 #82D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48831A#FFFFFF#000000##FFFFFF
##48831A1.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)
#887800
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#467E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #48831a;
/* rgb */ color: rgb(72, 131, 26);
/* oklch */ color: oklch(54.9% 0.147 135.0);
Tailwind
colors: {
  custom: {
    50: '#81a760',
    500: '#48831a',
    950: '#000000',
  },
}
SCSS
$custom: #48831a;
$custom-light: #81a760;
$custom-dark: #000000;
JSON
{
  "hex": "#48831a",
  "rgb": {
    "r": 72,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 93.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.1471,
    "h": 135
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

primary
#48831A
secondary
#8442B7
accent
#3EEA9F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #48831A

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

Preview Lab → · Contrast checker → · Palette generator →

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