#548D28#548D28

#548D28 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.145 H 134.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#548D28
RGBrgb(84, 141, 40)
HSLhsl(94, 56%, 35%)
HSVhsv(94, 72%, 55%)
CMYKcmyk(40.4%, 0%, 71.6%, 44.7%)
CIE-LABlab(53.04, -36.32, 45.73)
CIE-LCHlch(53.04, 58.40, 128.46°)
OKLaboklab(58.3% -0.1015 0.1036)
OKLCHoklch(58.3% 0.145 134.4)
XYZxyz(13.5638, 21.0871, 5.3626)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D28 #61288D
analogous
#868D28 #548D28 #288D2E
triadic
#548D28 #28548D #8D2854
tetradic
#548D28 #28868D #61288D #8D2E28
square
#548D28 #28868D #61288D #8D2E28
split-complementary
#548D28 #2E288D #8D2886
monochromatic
#1B2E0D #385D1A #548D28 #70BD36 #90D15E

Accessibility & contrast

On white

4.02
#548D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#548D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D28
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D28#FFFFFF#000000##000000
##548D281.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928218
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#538779
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548d28;
/* rgb */ color: rgb(84, 141, 40);
/* oklch */ color: oklch(58.3% 0.145 134.4);
Tailwind
colors: {
  custom: {
    50: '#89af68',
    500: '#548d28',
    950: '#000000',
  },
}
SCSS
$custom: #548d28;
$custom-light: #89af68;
$custom-dark: #000000;
JSON
{
  "hex": "#548d28",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 93.861,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58301,
    "c": 0.14507,
    "h": 134.4
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#548D28
secondary
#8E5AB7
accent
#49DF9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548D28

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

Preview Lab → · Contrast checker → · Palette generator →

#548D28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva