#548131#548131

#548131 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.121 H 133.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#548131
RGBrgb(84, 129, 49)
HSLhsl(94, 45%, 35%)
HSVhsv(94, 62%, 51%)
CMYKcmyk(34.9%, 0%, 62%, 49.4%)
CIE-LABlab(49.26, -30.04, 37.67)
CIE-LCHlch(49.26, 48.18, 128.57°)
OKLaboklab(55.24% -0.0837 0.0878)
OKLCHoklch(55.24% 0.121 133.6)
XYZxyz(12.0606, 17.8066, 5.7067)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548131 #5E3181
analogous
#7C8131 #548131 #318136
triadic
#548131 #315481 #813154
tetradic
#548131 #317C81 #5E3181 #813631
square
#548131 #317C81 #5E3181 #813631
split-complementary
#548131 #363181 #81317C
monochromatic
#1A280F #375520 #548131 #71AD42 #90C567

Accessibility & contrast

On white

4.60
#548131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#548131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #548131
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548131#FFFFFF#000000##FFFFFF
##5481311.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#547C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548131;
/* rgb */ color: rgb(84, 129, 49);
/* oklch */ color: oklch(55.2% 0.121 133.6);
Tailwind
colors: {
  custom: {
    50: '#87a66c',
    500: '#548131',
    950: '#000000',
  },
}
SCSS
$custom: #548131;
$custom-light: #87a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#548131",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 93.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.12125,
    "h": 133.6
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#548131
secondary
#8C61AD
accent
#53D59C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #548131

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

Preview Lab → · Contrast checker → · Palette generator →

#548131 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva