#548A28#548A28

#548A28 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.141 H 134.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#548A28
RGBrgb(84, 138, 40)
HSLhsl(93, 55%, 35%)
HSVhsv(93, 71%, 54%)
CMYKcmyk(39.1%, 0%, 71%, 45.9%)
CIE-LABlab(52.08, -34.99, 44.74)
CIE-LCHlch(52.08, 56.79, 128.03°)
OKLaboklab(57.51% -0.0979 0.1015)
OKLCHoklch(57.51% 0.141 134)
XYZxyz(13.1274, 20.2144, 5.2171)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A28 #5E288A
analogous
#858A28 #548A28 #288A2D
triadic
#548A28 #28548A #8A2854
tetradic
#548A28 #28858A #5E288A #8A2D28
square
#548A28 #28858A #5E288A #8A2D28
split-complementary
#548A28 #2D288A #8A2885
monochromatic
#1A2B0C #375B1A #548A28 #71B936 #90D05D

Accessibility & contrast

On white

4.16
#548A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#548A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548A28
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548A28#FFFFFF#000000##000000
##548A281.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#548576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #548a28;
/* rgb */ color: rgb(84, 138, 40);
/* oklch */ color: oklch(57.5% 0.141 134.0);
Tailwind
colors: {
  custom: {
    50: '#89ac68',
    500: '#548a28',
    950: '#000000',
  },
}
SCSS
$custom: #548a28;
$custom-light: #89ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#548a28",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 93.061,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.14105,
    "h": 134
  },
  "luminance": 0.20215
}

Semantic roles & 50–950 ramp

primary
#548A28
secondary
#8C59B5
accent
#49DE9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548A28

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

Preview Lab → · Contrast checker → · Palette generator →

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