#48811A#48811A

#48811A is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.3% C 0.145 H 134.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#48811A
RGBrgb(72, 129, 26)
HSLhsl(93, 66%, 30%)
HSVhsv(93, 80%, 51%)
CMYKcmyk(44.2%, 0%, 79.8%, 49.4%)
CIE-LABlab(48.45, -36.31, 46.21)
CIE-LCHlch(48.45, 58.77, 128.16°)
OKLaboklab(54.35% -0.1017 0.1027)
OKLCHoklch(54.35% 0.145 134.7)
XYZxyz(10.7090, 17.1522, 3.7235)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48811A #531A81
analogous
#7B811A #48811A #1A811F
triadic
#48811A #1A4881 #811A48
tetradic
#48811A #1A7B81 #531A81 #811F1A
square
#48811A #1A7B81 #531A81 #811F1A
split-complementary
#48811A #1F1A81 #811A7B
monochromatic
#0F1B05 #2C4E10 #48811A #64B424 #82D83D

Accessibility & contrast

On white

4.74
#48811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#48811A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48811A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48811A#FFFFFF#000000##FFFFFF
##48811A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#477C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #48811a;
/* rgb */ color: rgb(72, 129, 26);
/* oklch */ color: oklch(54.3% 0.145 134.7);
Tailwind
colors: {
  custom: {
    50: '#81a660',
    500: '#48811a',
    950: '#000000',
  },
}
SCSS
$custom: #48811a;
$custom-light: #81a660;
$custom-dark: #000000;
JSON
{
  "hex": "#48811a",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 93.204,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.14454,
    "h": 134.7
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#48811A
secondary
#8242B5
accent
#3EE99D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #48811A

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

Preview Lab → · Contrast checker → · Palette generator →

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