#48831C#48831C

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

Color values

HEX#48831C
RGBrgb(72, 131, 28)
HSLhsl(94, 65%, 31%)
HSVhsv(94, 79%, 51%)
CMYKcmyk(45%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.12, -37.05, 46.16)
CIE-LCHlch(49.12, 59.19, 128.75°)
OKLaboklab(54.9% -0.1036 0.1029)
OKLCHoklch(54.9% 0.146 135.2)
XYZxyz(10.9981, 17.6935, 3.9341)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48831C #571C83
analogous
#7B831C #48831C #1C8323
triadic
#48831C #1C4883 #831C48
tetradic
#48831C #1C7B83 #571C83 #83231C
square
#48831C #1C7B83 #571C83 #83231C
split-complementary
#48831C #231C83 #831C7B
monochromatic
#111E06 #2C5111 #48831C #64B527 #82D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48831C#FFFFFF#000000##FFFFFF
##48831C1.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)
#887803
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#467E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #48831c;
/* rgb */ color: rgb(72, 131, 28);
/* oklch */ color: oklch(54.9% 0.146 135.2);
Tailwind
colors: {
  custom: {
    50: '#81a761',
    500: '#48831c',
    950: '#000000',
  },
}
SCSS
$custom: #48831c;
$custom-light: #81a761;
$custom-dark: #000000;
JSON
{
  "hex": "#48831c",
  "rgb": {
    "r": 72,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 94.369,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.146,
    "h": 135.2
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#48831C
secondary
#8645B6
accent
#40E8A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #48831C

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

Preview Lab → · Contrast checker → · Palette generator →

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