#548728#548728

#548728 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.7% C 0.137 H 133.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#548728
RGBrgb(84, 135, 40)
HSLhsl(92, 54%, 34%)
HSVhsv(92, 70%, 53%)
CMYKcmyk(37.8%, 0%, 70.4%, 47.1%)
CIE-LABlab(51.11, -33.64, 43.73)
CIE-LCHlch(51.11, 55.17, 127.57°)
OKLaboklab(56.72% -0.0942 0.0994)
OKLCHoklch(56.72% 0.137 133.5)
XYZxyz(12.7029, 19.3654, 5.0757)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548728 #5B2887
analogous
#848728 #548728 #28872C
triadic
#548728 #285487 #872854
tetradic
#548728 #288487 #5B2887 #872C28
square
#548728 #288487 #5B2887 #872C28
split-complementary
#548728 #2C2887 #872884
monochromatic
#19290C #37581A #548728 #71B636 #90CE5B

Accessibility & contrast

On white

4.31
#548728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#548728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548728
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548728#FFFFFF#000000##000000
##5487281.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#548274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #548728;
/* rgb */ color: rgb(84, 135, 40);
/* oklch */ color: oklch(56.7% 0.137 133.5);
Tailwind
colors: {
  custom: {
    50: '#88aa68',
    500: '#548728',
    950: '#000000',
  },
}
SCSS
$custom: #548728;
$custom-light: #88aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#548728",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 92.211,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.13699,
    "h": 133.5
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#548728
secondary
#8957B4
accent
#4ADE99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548728

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

Preview Lab → · Contrast checker → · Palette generator →

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