#548127#548127

#548127 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.130 H 132.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#548127
RGBrgb(84, 129, 39)
HSLhsl(90, 54%, 33%)
HSVhsv(90, 70%, 51%)
CMYKcmyk(34.9%, 0%, 69.8%, 49.4%)
CIE-LABlab(49.17, -30.96, 42.12)
CIE-LCHlch(49.17, 52.28, 126.31°)
OKLaboklab(55.13% -0.087 0.0959)
OKLCHoklch(55.13% 0.13 132.2)
XYZxyz(11.8725, 17.7314, 4.7160)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548127 #542781
analogous
#818127 #548127 #278127
triadic
#548127 #275481 #812754
tetradic
#548127 #278181 #542781 #812727
square
#548127 #278181 #542781 #812727
split-complementary
#548127 #272781 #812781
monochromatic
#17230B #355219 #548127 #73B035 #91CC56

Accessibility & contrast

On white

4.62
#548127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#548127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #548127
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548127#FFFFFF#000000##FFFFFF
##5481271.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771A
Deuteranopia (green-blind)
#80742F
Tritanopia (blue-blind)
#557C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548127;
/* rgb */ color: rgb(84, 129, 39);
/* oklch */ color: oklch(55.1% 0.130 132.2);
Tailwind
colors: {
  custom: {
    50: '#88a666',
    500: '#548127',
    950: '#000000',
  },
}
SCSS
$custom: #548127;
$custom-light: #88a666;
$custom-dark: #000000;
JSON
{
  "hex": "#548127",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 90,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.1295,
    "h": 132.2
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#548127
secondary
#8253B1
accent
#4BDD94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548127

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

Preview Lab → · Contrast checker → · Palette generator →

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