#548B28#548B28

#548B28 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.8% C 0.142 H 134.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#548B28
RGBrgb(84, 139, 40)
HSLhsl(93, 55%, 35%)
HSVhsv(93, 71%, 55%)
CMYKcmyk(39.6%, 0%, 71.2%, 45.5%)
CIE-LABlab(52.40, -35.43, 45.07)
CIE-LCHlch(52.40, 57.33, 128.18°)
OKLaboklab(57.77% -0.0991 0.1022)
OKLCHoklch(57.77% 0.142 134.1)
XYZxyz(13.2715, 20.5026, 5.2652)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548B28 #5F288B
analogous
#868B28 #548B28 #288B2D
triadic
#548B28 #28548B #8B2854
tetradic
#548B28 #28868B #5F288B #8B2D28
square
#548B28 #28868B #5F288B #8B2D28
split-complementary
#548B28 #2D288B #8B2886
monochromatic
#1B2C0D #375B1A #548B28 #71BB36 #90D05D

Accessibility & contrast

On white

4.12
#548B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#548B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548B28
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548B28#FFFFFF#000000##000000
##548B281.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908019
Deuteranopia (green-blind)
#897B31
Tritanopia (blue-blind)
#548677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #548b28;
/* rgb */ color: rgb(84, 139, 40);
/* oklch */ color: oklch(57.8% 0.142 134.1);
Tailwind
colors: {
  custom: {
    50: '#89ad68',
    500: '#548b28',
    950: '#000000',
  },
}
SCSS
$custom: #548b28;
$custom-light: #89ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#548b28",
  "rgb": {
    "r": 84,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 93.333,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.1424,
    "h": 134.1
  },
  "luminance": 0.20503
}

Semantic roles & 50–950 ramp

primary
#548B28
secondary
#8D59B6
accent
#49DF9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548B28

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

Preview Lab → · Contrast checker → · Palette generator →

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