#548C28#548C28

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

Color values

HEX#548C28
RGBrgb(84, 140, 40)
HSLhsl(94, 56%, 35%)
HSVhsv(94, 71%, 55%)
CMYKcmyk(40%, 0%, 71.4%, 45.1%)
CIE-LABlab(52.72, -35.88, 45.40)
CIE-LCHlch(52.72, 57.87, 128.32°)
OKLaboklab(58.04% -0.1003 0.1029)
OKLCHoklch(58.04% 0.144 134.3)
XYZxyz(13.4170, 20.7935, 5.3137)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C28 #60288C
analogous
#868C28 #548C28 #288C2E
triadic
#548C28 #28548C #8C2854
tetradic
#548C28 #28868C #60288C #8C2E28
square
#548C28 #28868C #60288C #8C2E28
split-complementary
#548C28 #2E288C #8C2886
monochromatic
#1B2D0D #375C1A #548C28 #71BC36 #90D15E

Accessibility & contrast

On white

4.07
#548C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#548C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C28
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C28#FFFFFF#000000##000000
##548C281.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918118
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#538678
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c28;
/* rgb */ color: rgb(84, 140, 40);
/* oklch */ color: oklch(58.0% 0.144 134.3);
Tailwind
colors: {
  custom: {
    50: '#89ae68',
    500: '#548c28',
    950: '#000000',
  },
}
SCSS
$custom: #548c28;
$custom-light: #89ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#548c28",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 93.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58038,
    "c": 0.14374,
    "h": 134.3
  },
  "luminance": 0.20794
}

Semantic roles & 50–950 ramp

primary
#548C28
secondary
#8D5AB6
accent
#49DF9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548C28

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

Preview Lab → · Contrast checker → · Palette generator →

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