#548A21#548A21

#548A21 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.146 H 133.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#548A21
RGBrgb(84, 138, 33)
HSLhsl(91, 61%, 34%)
HSVhsv(91, 76%, 54%)
CMYKcmyk(39.1%, 0%, 76.1%, 45.9%)
CIE-LABlab(52.03, -35.49, 47.41)
CIE-LCHlch(52.03, 59.22, 126.82°)
OKLaboklab(57.46% -0.0998 0.1061)
OKLCHoklch(57.46% 0.146 133.3)
XYZxyz(13.0189, 20.1710, 4.6460)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A21 #57218A
analogous
#888A21 #548A21 #218A22
triadic
#548A21 #21548A #8A2154
tetradic
#548A21 #21888A #57218A #8A2221
square
#548A21 #21888A #57218A #8A2221
split-complementary
#548A21 #22218A #8A2188
monochromatic
#182709 #365915 #548A21 #72BB2D #91D550

Accessibility & contrast

On white

4.17
#548A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#548A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548A21
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548A21#FFFFFF#000000##000000
##548A211.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0B
Deuteranopia (green-blind)
#887B2B
Tritanopia (blue-blind)
#548476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #548a21;
/* rgb */ color: rgb(84, 138, 33);
/* oklch */ color: oklch(57.5% 0.146 133.3);
Tailwind
colors: {
  custom: {
    50: '#89ac64',
    500: '#548a21',
    950: '#000000',
  },
}
SCSS
$custom: #548a21;
$custom-light: #89ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#548a21",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 90.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.14565,
    "h": 133.3
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#548A21
secondary
#854EB9
accent
#43E596
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548A21

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

Preview Lab → · Contrast checker → · Palette generator →

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