#548D1B#548D1B

#548D1B is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.153 H 133.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#548D1B
RGBrgb(84, 141, 27)
HSLhsl(90, 68%, 33%)
HSVhsv(90, 81%, 55%)
CMYKcmyk(40.4%, 0%, 80.9%, 44.7%)
CIE-LABlab(52.96, -37.16, 50.33)
CIE-LCHlch(52.96, 62.57, 126.44°)
OKLaboklab(58.21% -0.1047 0.1113)
OKLCHoklch(58.21% 0.153 133.3)
XYZxyz(13.3787, 21.0130, 4.3877)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D1B #541B8D
analogous
#8D8D1B #548D1B #1B8D1B
triadic
#548D1B #1B548D #8D1B54
tetradic
#548D1B #1B8D8D #541B8D #8D1B1B
square
#548D1B #1B8D8D #541B8D #8D1B1B
split-complementary
#548D1B #1B1B8D #8D1B8D
monochromatic
#172607 #355A11 #548D1B #73C025 #91DC47

Accessibility & contrast

On white

4.04
#548D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#548D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D1B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D1B#FFFFFF#000000##000000
##548D1B1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#548778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548d1b;
/* rgb */ color: rgb(84, 141, 27);
/* oklch */ color: oklch(58.2% 0.153 133.3);
Tailwind
colors: {
  custom: {
    50: '#89af62',
    500: '#548d1b',
    950: '#000000',
  },
}
SCSS
$custom: #548d1b;
$custom-light: #89af62;
$custom-dark: #000000;
JSON
{
  "hex": "#548d1b",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.15282,
    "h": 133.3
  },
  "luminance": 0.21014
}

Semantic roles & 50–950 ramp

primary
#548D1B
secondary
#8246BD
accent
#3DEB94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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