#548228#548228

#548228 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.130 H 132.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#548228
RGBrgb(84, 130, 40)
HSLhsl(91, 53%, 33%)
HSVhsv(91, 69%, 51%)
CMYKcmyk(35.4%, 0%, 69.2%, 49%)
CIE-LABlab(49.50, -31.34, 42.04)
CIE-LCHlch(49.50, 52.44, 126.71°)
OKLaboklab(55.41% -0.088 0.0959)
OKLCHoklch(55.41% 0.13 132.5)
XYZxyz(12.0216, 18.0028, 4.8486)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548228 #562882
analogous
#818228 #548228 #288229
triadic
#548228 #285482 #822854
tetradic
#548228 #288182 #562882 #822928
square
#548228 #288182 #562882 #822928
split-complementary
#548228 #292882 #822881
monochromatic
#18240B #36531A #548228 #72B136 #91CC59

Accessibility & contrast

On white

4.56
#548228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#548228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548228
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548228#FFFFFF#000000##000000
##5482281.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781B
Deuteranopia (green-blind)
#817430
Tritanopia (blue-blind)
#557D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #548228;
/* rgb */ color: rgb(84, 130, 40);
/* oklch */ color: oklch(55.4% 0.130 132.5);
Tailwind
colors: {
  custom: {
    50: '#88a667',
    500: '#548228',
    950: '#000000',
  },
}
SCSS
$custom: #548228;
$custom-light: #88a667;
$custom-dark: #000000;
JSON
{
  "hex": "#548228",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 90.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55406,
    "c": 0.13014,
    "h": 132.5
  },
  "luminance": 0.18003
}

Semantic roles & 50–950 ramp

primary
#548228
secondary
#8455B1
accent
#4BDC96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548228

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

Preview Lab → · Contrast checker → · Palette generator →

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