#48812A#48812A

#48812A is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.134 H 136.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#48812A
RGBrgb(72, 129, 42)
HSLhsl(99, 51%, 34%)
HSVhsv(99, 67%, 51%)
CMYKcmyk(44.2%, 0%, 67.4%, 49.4%)
CIE-LABlab(48.57, -35.08, 39.98)
CIE-LCHlch(48.57, 53.19, 131.27°)
OKLaboklab(54.48% -0.0972 0.092)
OKLCHoklch(54.48% 0.134 136.6)
XYZxyz(10.9404, 17.2448, 4.9421)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48812A #632A81
analogous
#73812A #48812A #2A8137
triadic
#48812A #2A4881 #812A48
tetradic
#48812A #2A7381 #632A81 #81372A
square
#48812A #2A7381 #632A81 #81372A
split-complementary
#48812A #372A81 #812A73
monochromatic
#14250C #2E531B #48812A #62AF39 #82CA5C

Accessibility & contrast

On white

4.72
#48812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#48812A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48812A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48812A#FFFFFF#000000##FFFFFF
##48812A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761F
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#457C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #48812a;
/* rgb */ color: rgb(72, 129, 42);
/* oklch */ color: oklch(54.5% 0.134 136.6);
Tailwind
colors: {
  custom: {
    50: '#80a668',
    500: '#48812a',
    950: '#000000',
  },
}
SCSS
$custom: #48812a;
$custom-light: #80a668;
$custom-dark: #000000;
JSON
{
  "hex": "#48812a",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 99.31,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54481,
    "c": 0.13383,
    "h": 136.6
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#48812A
secondary
#9157AF
accent
#4DDAAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #48812A

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

Preview Lab → · Contrast checker → · Palette generator →

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