#548828#548828

#548828 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.0% C 0.138 H 133.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#548828
RGBrgb(84, 136, 40)
HSLhsl(93, 55%, 35%)
HSVhsv(93, 71%, 53%)
CMYKcmyk(38.2%, 0%, 70.6%, 46.7%)
CIE-LABlab(51.43, -34.09, 44.07)
CIE-LCHlch(51.43, 55.71, 127.73°)
OKLaboklab(56.99% -0.0955 0.1001)
OKLCHoklch(56.99% 0.138 133.6)
XYZxyz(12.8431, 19.6458, 5.1224)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548828 #5C2888
analogous
#848828 #548828 #28882C
triadic
#548828 #285488 #882854
tetradic
#548828 #288488 #5C2888 #882C28
square
#548828 #288488 #5C2888 #882C28
split-complementary
#548828 #2C2888 #882884
monochromatic
#1A290C #37591A #548828 #71B736 #90CF5B

Accessibility & contrast

On white

4.26
#548828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#548828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548828
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548828#FFFFFF#000000##000000
##5488281.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#548375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #548828;
/* rgb */ color: rgb(84, 136, 40);
/* oklch */ color: oklch(57.0% 0.138 133.6);
Tailwind
colors: {
  custom: {
    50: '#88ab68',
    500: '#548828',
    950: '#000000',
  },
}
SCSS
$custom: #548828;
$custom-light: #88ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#548828",
  "rgb": {
    "r": 84,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 92.5,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.13835,
    "h": 133.6
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#548828
secondary
#8A58B4
accent
#4ADE9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548828

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

Preview Lab → · Contrast checker → · Palette generator →

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