#548C1B#548C1B

#548C1B is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.152 H 133.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#548C1B
RGBrgb(84, 140, 27)
HSLhsl(90, 68%, 33%)
HSVhsv(90, 81%, 55%)
CMYKcmyk(40%, 0%, 80.7%, 45.1%)
CIE-LABlab(52.64, -36.73, 50.03)
CIE-LCHlch(52.64, 62.07, 126.28°)
OKLaboklab(57.95% -0.1036 0.1106)
OKLCHoklch(57.95% 0.152 133.1)
XYZxyz(13.2319, 20.7195, 4.3388)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C1B #531B8C
analogous
#8C8C1B #548C1B #1B8C1B
triadic
#548C1B #1B548C #8C1B54
tetradic
#548C1B #1B8C8C #531B8C #8C1B1B
square
#548C1B #1B8C8C #531B8C #8C1B1B
split-complementary
#548C1B #1B1B8C #8C1B8C
monochromatic
#162507 #355911 #548C1B #73BF25 #91DB46

Accessibility & contrast

On white

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

On black

5.14
#548C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C1B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C1B#FFFFFF#000000##000000
##548C1B1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#548677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c1b;
/* rgb */ color: rgb(84, 140, 27);
/* oklch */ color: oklch(57.9% 0.152 133.1);
Tailwind
colors: {
  custom: {
    50: '#89ae62',
    500: '#548c1b',
    950: '#000000',
  },
}
SCSS
$custom: #548c1b;
$custom-light: #89ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#548c1b",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 89.735,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57945,
    "c": 0.15155,
    "h": 133.1
  },
  "luminance": 0.2072
}

Semantic roles & 50–950 ramp

primary
#548C1B
secondary
#8146BD
accent
#3DEB93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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