#48811E#48811E

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

Color values

HEX#48811E
RGBrgb(72, 129, 30)
HSLhsl(95, 62%, 31%)
HSVhsv(95, 77%, 51%)
CMYKcmyk(44.2%, 0%, 76.7%, 49.4%)
CIE-LABlab(48.48, -36.06, 44.81)
CIE-LCHlch(48.48, 57.52, 128.82°)
OKLaboklab(54.38% -0.1008 0.1004)
OKLCHoklch(54.38% 0.142 135.1)
XYZxyz(10.7568, 17.1714, 3.9756)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48811E #571E81
analogous
#79811E #48811E #1E8125
triadic
#48811E #1E4881 #811E48
tetradic
#48811E #1E7981 #571E81 #81251E
square
#48811E #1E7981 #571E81 #81251E
split-complementary
#48811E #251E81 #811E79
monochromatic
#111E07 #2C4F12 #48811E #64B32A #82D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48811E#FFFFFF#000000##FFFFFF
##48811E1.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)
#867609
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#477C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #48811e;
/* rgb */ color: rgb(72, 129, 30);
/* oklch */ color: oklch(54.4% 0.142 135.1);
Tailwind
colors: {
  custom: {
    50: '#80a661',
    500: '#48811e',
    950: '#000000',
  },
}
SCSS
$custom: #48811e;
$custom-light: #80a661;
$custom-dark: #000000;
JSON
{
  "hex": "#48811e",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 94.545,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.14224,
    "h": 135.1
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#48811E
secondary
#8647B4
accent
#42E5A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #48811E

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

Preview Lab → · Contrast checker → · Palette generator →

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