#548B31#548B31

#548B31 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.136 H 135.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#548B31
RGBrgb(84, 139, 49)
HSLhsl(97, 48%, 37%)
HSVhsv(97, 65%, 55%)
CMYKcmyk(39.6%, 0%, 64.7%, 45.5%)
CIE-LABlab(52.48, -34.65, 41.25)
CIE-LCHlch(52.48, 53.88, 130.03°)
OKLaboklab(57.86% -0.0963 0.0954)
OKLCHoklch(57.86% 0.136 135.3)
XYZxyz(13.4428, 20.5711, 6.1675)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548B31 #68318B
analogous
#818B31 #548B31 #318B3B
triadic
#548B31 #31548B #8B3154
tetradic
#548B31 #31818B #68318B #8B3B31
square
#548B31 #31818B #68318B #8B3B31
split-complementary
#548B31 #3B318B #8B3181
monochromatic
#1D3111 #395E21 #548B31 #6FB841 #91CB6B

Accessibility & contrast

On white

4.11
#548B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#548B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548B31
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548B31#FFFFFF#000000##000000
##548B311.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#887C38
Tritanopia (blue-blind)
#538678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #548b31;
/* rgb */ color: rgb(84, 139, 49);
/* oklch */ color: oklch(57.9% 0.136 135.3);
Tailwind
colors: {
  custom: {
    50: '#88ad6d',
    500: '#548b31',
    950: '#000000',
  },
}
SCSS
$custom: #548b31;
$custom-light: #88ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#548b31",
  "rgb": {
    "r": 84,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 96.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.13553,
    "h": 135.3
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#548B31
secondary
#9465B2
accent
#50D7A3
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548B31

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

Preview Lab → · Contrast checker → · Palette generator →

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