#548C21#548C21

#548C21 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.148 H 133.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#548C21
RGBrgb(84, 140, 33)
HSLhsl(91, 62%, 34%)
HSVhsv(91, 76%, 55%)
CMYKcmyk(40%, 0%, 76.4%, 45.1%)
CIE-LABlab(52.67, -36.38, 48.04)
CIE-LCHlch(52.67, 60.25, 127.13°)
OKLaboklab(57.98% -0.1022 0.1074)
OKLCHoklch(57.98% 0.148 133.6)
XYZxyz(13.3085, 20.7501, 4.7425)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C21 #59218C
analogous
#8A8C21 #548C21 #218C24
triadic
#548C21 #21548C #8C2154
tetradic
#548C21 #218A8C #59218C #8C2421
square
#548C21 #218A8C #59218C #8C2421
split-complementary
#548C21 #24218C #8C218A
monochromatic
#19290A #365A15 #548C21 #72BE2D #91D651

Accessibility & contrast

On white

4.08
#548C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#548C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C21
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C21#FFFFFF#000000##000000
##548C211.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#548678
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c21;
/* rgb */ color: rgb(84, 140, 33);
/* oklch */ color: oklch(58.0% 0.148 133.6);
Tailwind
colors: {
  custom: {
    50: '#89ae64',
    500: '#548c21',
    950: '#000000',
  },
}
SCSS
$custom: #548c21;
$custom-light: #89ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#548c21",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 91.402,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.14826,
    "h": 133.6
  },
  "luminance": 0.20751
}

Semantic roles & 50–950 ramp

primary
#548C21
secondary
#874FB9
accent
#43E598
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548C21

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

Preview Lab → · Contrast checker → · Palette generator →

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