#548A1C#548A1C

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

Color values

HEX#548A1C
RGBrgb(84, 138, 28)
HSLhsl(89, 66%, 33%)
HSVhsv(89, 80%, 54%)
CMYKcmyk(39.1%, 0%, 79.7%, 45.9%)
CIE-LABlab(52.00, -35.80, 49.11)
CIE-LCHlch(52.00, 60.77, 126.09°)
OKLaboklab(57.42% -0.101 0.1089)
OKLCHoklch(57.42% 0.148 132.9)
XYZxyz(12.9541, 20.1450, 4.3042)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A1C #521C8A
analogous
#8A891C #548A1C #1D8A1C
triadic
#548A1C #1C548A #8A1C54
tetradic
#548A1C #1C8A89 #521C8A #8A1C1D
square
#548A1C #1C8A89 #521C8A #8A1C1D
split-complementary
#548A1C #1C1D8A #891C8A
monochromatic
#162407 #355712 #548A1C #73BD26 #92DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548A1C#FFFFFF#000000##000000
##548A1C1.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)
#897A28
Tritanopia (blue-blind)
#548476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #548a1c;
/* rgb */ color: rgb(84, 138, 28);
/* oklch */ color: oklch(57.4% 0.148 132.9);
Tailwind
colors: {
  custom: {
    50: '#89ac62',
    500: '#548a1c',
    950: '#000000',
  },
}
SCSS
$custom: #548a1c;
$custom-light: #89ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#548a1c",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 89.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.14849,
    "h": 132.9
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#548A1C
secondary
#8046BB
accent
#3FE992
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #548A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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