#548A1B#548A1B

#548A1B is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.4% C 0.149 H 132.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#548A1B
RGBrgb(84, 138, 27)
HSLhsl(89, 67%, 32%)
HSVhsv(89, 80%, 54%)
CMYKcmyk(39.1%, 0%, 80.4%, 45.9%)
CIE-LABlab(52.00, -35.85, 49.43)
CIE-LCHlch(52.00, 61.06, 125.95°)
OKLaboklab(57.42% -0.1012 0.1094)
OKLCHoklch(57.42% 0.149 132.8)
XYZxyz(12.9423, 20.1403, 4.2422)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A1B #511B8A
analogous
#8A891B #548A1B #1D8A1B
triadic
#548A1B #1B548A #8A1B54
tetradic
#548A1B #1B8A89 #511B8A #8A1B1D
square
#548A1B #1B8A89 #511B8A #8A1B1D
split-complementary
#548A1B #1B1D8A #891B8A
monochromatic
#162407 #355711 #548A1B #73BD25 #92DB45

Accessibility & contrast

On white

4.18
#548A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##548A1B#FFFFFF#000000##000000
##548A1B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#897A27
Tritanopia (blue-blind)
#558475
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #548a1b;
/* rgb */ color: rgb(84, 138, 27);
/* oklch */ color: oklch(57.4% 0.149 132.8);
Tailwind
colors: {
  custom: {
    50: '#89ac61',
    500: '#548a1b',
    950: '#000000',
  },
}
SCSS
$custom: #548a1b;
$custom-light: #89ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#548a1b",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 89.189,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.14901,
    "h": 132.8
  },
  "luminance": 0.20141
}

Semantic roles & 50–950 ramp

primary
#548A1B
secondary
#7F45BC
accent
#3EEA92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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