#548D23#548D23

#548D23 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.148 H 133.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#548D23
RGBrgb(84, 141, 35)
HSLhsl(92, 60%, 35%)
HSVhsv(92, 75%, 55%)
CMYKcmyk(40.4%, 0%, 75.2%, 44.7%)
CIE-LABlab(53.01, -36.68, 47.63)
CIE-LCHlch(53.01, 60.12, 127.60°)
OKLaboklab(58.26% -0.1029 0.1069)
OKLCHoklch(58.26% 0.148 133.9)
XYZxyz(13.4842, 21.0553, 4.9434)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D23 #5C238D
analogous
#898D23 #548D23 #238D27
triadic
#548D23 #23548D #8D2354
tetradic
#548D23 #23898D #5C238D #8D2723
square
#548D23 #23898D #5C238D #8D2723
split-complementary
#548D23 #27238D #8D2389
monochromatic
#1A2B0B #375C17 #548D23 #71BE2F #90D555

Accessibility & contrast

On white

4.03
#548D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#548D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D23
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D23#FFFFFF#000000##000000
##548D231.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810E
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#548779
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548d23;
/* rgb */ color: rgb(84, 141, 35);
/* oklch */ color: oklch(58.3% 0.148 133.9);
Tailwind
colors: {
  custom: {
    50: '#89af66',
    500: '#548d23',
    950: '#000000',
  },
}
SCSS
$custom: #548d23;
$custom-light: #89af66;
$custom-dark: #000000;
JSON
{
  "hex": "#548d23",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 92.264,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.14834,
    "h": 133.9
  },
  "luminance": 0.21056
}

Semantic roles & 50–950 ramp

primary
#548D23
secondary
#8A53B9
accent
#44E39A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548D23

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

Preview Lab → · Contrast checker → · Palette generator →

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