#548F28#548F28

#548F28 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.148 H 134.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#548F28
RGBrgb(84, 143, 40)
HSLhsl(94, 56%, 36%)
HSVhsv(94, 72%, 56%)
CMYKcmyk(41.3%, 0%, 72%, 43.9%)
CIE-LABlab(53.69, -37.20, 46.39)
CIE-LCHlch(53.69, 59.46, 128.72°)
OKLaboklab(58.83% -0.1039 0.105)
OKLCHoklch(58.83% 0.148 134.7)
XYZxyz(13.8613, 21.6822, 5.4618)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F28 #63288F
analogous
#878F28 #548F28 #288F2F
triadic
#548F28 #28548F #8F2854
tetradic
#548F28 #28878F #63288F #8F2F28
square
#548F28 #28878F #63288F #8F2F28
split-complementary
#548F28 #2F288F #8F2887
monochromatic
#1C2F0D #385F1B #548F28 #70BF35 #90D25F

Accessibility & contrast

On white

3.94
#548F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#548F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548F28
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548F28#FFFFFF#000000##000000
##548F281.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948317
Deuteranopia (green-blind)
#8C7F32
Tritanopia (blue-blind)
#53897B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f28;
/* rgb */ color: rgb(84, 143, 40);
/* oklch */ color: oklch(58.8% 0.148 134.7);
Tailwind
colors: {
  custom: {
    50: '#89b068',
    500: '#548f28',
    950: '#000000',
  },
}
SCSS
$custom: #548f28;
$custom-light: #89b068;
$custom-dark: #000000;
JSON
{
  "hex": "#548f28",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 94.369,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58827,
    "c": 0.14772,
    "h": 134.7
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#548F28
secondary
#905BB8
accent
#48E09F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548F28

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

Preview Lab → · Contrast checker → · Palette generator →

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