#548C31#548C31

#548C31 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.137 H 135.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#548C31
RGBrgb(84, 140, 49)
HSLhsl(97, 48%, 37%)
HSVhsv(97, 65%, 55%)
CMYKcmyk(40%, 0%, 65%, 45.1%)
CIE-LABlab(52.80, -35.10, 41.61)
CIE-LCHlch(52.80, 54.44, 130.15°)
OKLaboklab(58.12% -0.0975 0.0961)
OKLCHoklch(58.12% 0.137 135.4)
XYZxyz(13.5883, 20.8621, 6.2159)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C31 #69318C
analogous
#828C31 #548C31 #318C3C
triadic
#548C31 #31548C #8C3154
tetradic
#548C31 #31828C #69318C #8C3C31
square
#548C31 #31828C #69318C #8C3C31
split-complementary
#548C31 #3C318C #8C3182
monochromatic
#1E3111 #395F21 #548C31 #6FB941 #91CC6C

Accessibility & contrast

On white

4.06
#548C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#548C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C31
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C31#FFFFFF#000000##000000
##548C311.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#897C38
Tritanopia (blue-blind)
#538779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c31;
/* rgb */ color: rgb(84, 140, 49);
/* oklch */ color: oklch(58.1% 0.137 135.4);
Tailwind
colors: {
  custom: {
    50: '#88ae6d',
    500: '#548c31',
    950: '#000000',
  },
}
SCSS
$custom: #548c31;
$custom-light: #88ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#548c31",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 96.923,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58123,
    "c": 0.13692,
    "h": 135.4
  },
  "luminance": 0.20863
}

Semantic roles & 50–950 ramp

primary
#548C31
secondary
#9566B3
accent
#50D8A4
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548C31

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

Preview Lab → · Contrast checker → · Palette generator →

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