#548D31#548D31

#548D31 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.138 H 135.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#548D31
RGBrgb(84, 141, 49)
HSLhsl(97, 48%, 37%)
HSVhsv(97, 65%, 55%)
CMYKcmyk(40.4%, 0%, 65.2%, 44.7%)
CIE-LABlab(53.12, -35.55, 41.96)
CIE-LCHlch(53.12, 54.99, 130.27°)
OKLaboklab(58.39% -0.0987 0.0969)
OKLCHoklch(58.39% 0.138 135.5)
XYZxyz(13.7351, 21.1556, 6.2649)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D31 #6A318D
analogous
#828D31 #548D31 #318D3C
triadic
#548D31 #31548D #8D3154
tetradic
#548D31 #31828D #6A318D #8D3C31
square
#548D31 #31828D #6A318D #8D3C31
split-complementary
#548D31 #3C318D #8D3182
monochromatic
#1E3211 #396021 #548D31 #6FBA41 #91CC6C

Accessibility & contrast

On white

4.01
#548D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#548D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D31
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D31#FFFFFF#000000##000000
##548D311.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#52887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548d31;
/* rgb */ color: rgb(84, 141, 49);
/* oklch */ color: oklch(58.4% 0.138 135.5);
Tailwind
colors: {
  custom: {
    50: '#88af6d',
    500: '#548d31',
    950: '#000000',
  },
}
SCSS
$custom: #548d31;
$custom-light: #88af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#548d31",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 97.174,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.13832,
    "h": 135.5
  },
  "luminance": 0.21156
}

Semantic roles & 50–950 ramp

primary
#548D31
secondary
#9666B4
accent
#50D8A4
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548D31

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

Preview Lab → · Contrast checker → · Palette generator →

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