#548128#548128

#548128 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.129 H 132.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#548128
RGBrgb(84, 129, 40)
HSLhsl(90, 53%, 33%)
HSVhsv(90, 69%, 51%)
CMYKcmyk(34.9%, 0%, 69%, 49.4%)
CIE-LABlab(49.18, -30.88, 41.70)
CIE-LCHlch(49.18, 51.89, 126.52°)
OKLaboklab(55.14% -0.0867 0.0952)
OKLCHoklch(55.14% 0.129 132.3)
XYZxyz(11.8893, 17.7381, 4.8044)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548128 #552881
analogous
#808128 #548128 #288128
triadic
#548128 #285481 #812854
tetradic
#548128 #288081 #552881 #812828
square
#548128 #288081 #552881 #812828
split-complementary
#548128 #282881 #812880
monochromatic
#17240B #36521A #548128 #72B036 #91CB58

Accessibility & contrast

On white

4.62
#548128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#548128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #548128
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548128#FFFFFF#000000##FFFFFF
##5481281.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771C
Deuteranopia (green-blind)
#80742F
Tritanopia (blue-blind)
#557C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548128;
/* rgb */ color: rgb(84, 129, 40);
/* oklch */ color: oklch(55.1% 0.129 132.3);
Tailwind
colors: {
  custom: {
    50: '#88a667',
    500: '#548128',
    950: '#000000',
  },
}
SCSS
$custom: #548128;
$custom-light: #88a667;
$custom-dark: #000000;
JSON
{
  "hex": "#548128",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 90.337,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.12874,
    "h": 132.3
  },
  "luminance": 0.17739
}

Semantic roles & 50–950 ramp

primary
#548128
secondary
#8354B0
accent
#4CDC95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548128

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

Preview Lab → · Contrast checker → · Palette generator →

#548128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva