#548C20#548C20

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

Color values

HEX#548C20
RGBrgb(84, 140, 32)
HSLhsl(91, 63%, 34%)
HSVhsv(91, 77%, 55%)
CMYKcmyk(40%, 0%, 77.1%, 45.1%)
CIE-LABlab(52.67, -36.44, 48.39)
CIE-LCHlch(52.67, 60.57, 126.98°)
OKLaboklab(57.98% -0.1024 0.108)
OKLCHoklch(57.98% 0.149 133.5)
XYZxyz(13.2947, 20.7446, 4.6698)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C20 #58208C
analogous
#8A8C20 #548C20 #208C22
triadic
#548C20 #20548C #8C2054
tetradic
#548C20 #208A8C #58208C #8C2220
square
#548C20 #208A8C #58208C #8C2220
split-complementary
#548C20 #22208C #8C208A
monochromatic
#182809 #365A15 #548C20 #72BE2B #91D750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548C20#FFFFFF#000000##000000
##548C201.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)
#928107
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#548677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c20;
/* rgb */ color: rgb(84, 140, 32);
/* oklch */ color: oklch(58.0% 0.149 133.5);
Tailwind
colors: {
  custom: {
    50: '#89ae64',
    500: '#548c20',
    950: '#000000',
  },
}
SCSS
$custom: #548c20;
$custom-light: #89ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#548c20",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 91.111,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.14884,
    "h": 133.5
  },
  "luminance": 0.20745
}

Semantic roles & 50–950 ramp

primary
#548C20
secondary
#864EBA
accent
#42E697
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548C20

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

Preview Lab → · Contrast checker → · Palette generator →

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