#548A31#548A31

#548A31 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.6% C 0.134 H 135.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#548A31
RGBrgb(84, 138, 49)
HSLhsl(96, 48%, 37%)
HSVhsv(96, 64%, 54%)
CMYKcmyk(39.1%, 0%, 64.5%, 45.9%)
CIE-LABlab(52.16, -34.20, 40.90)
CIE-LCHlch(52.16, 53.32, 129.90°)
OKLaboklab(57.6% -0.095 0.0946)
OKLCHoklch(57.6% 0.134 135.1)
XYZxyz(13.2987, 20.2829, 6.1194)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A31 #67318A
analogous
#818A31 #548A31 #318A3A
triadic
#548A31 #31548A #8A3154
tetradic
#548A31 #31818A #67318A #8A3A31
square
#548A31 #31818A #67318A #8A3A31
split-complementary
#548A31 #3A318A #8A3181
monochromatic
#1D3011 #395D21 #548A31 #6FB741 #91CA6B

Accessibility & contrast

On white

4.15
#548A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#548A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548A31
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548A31#FFFFFF#000000##000000
##548A311.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#538577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #548a31;
/* rgb */ color: rgb(84, 138, 49);
/* oklch */ color: oklch(57.6% 0.134 135.1);
Tailwind
colors: {
  custom: {
    50: '#88ac6d',
    500: '#548a31',
    950: '#000000',
  },
}
SCSS
$custom: #548a31;
$custom-light: #88ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#548a31",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 96.404,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.13412,
    "h": 135.1
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#548A31
secondary
#9465B2
accent
#51D7A2
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548A31

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

Preview Lab → · Contrast checker → · Palette generator →

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