#548125#548125

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

Color values

HEX#548125
RGBrgb(84, 129, 37)
HSLhsl(89, 55%, 33%)
HSVhsv(89, 71%, 51%)
CMYKcmyk(34.9%, 0%, 71.3%, 49.4%)
CIE-LABlab(49.15, -31.12, 42.95)
CIE-LCHlch(49.15, 53.04, 125.92°)
OKLaboklab(55.12% -0.0876 0.0974)
OKLCHoklch(55.12% 0.131 132)
XYZxyz(11.8402, 17.7185, 4.5461)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548125 #522581
analogous
#818025 #548125 #268125
triadic
#548125 #255481 #812554
tetradic
#548125 #258180 #522581 #812526
square
#548125 #258180 #522581 #812526
split-complementary
#548125 #252681 #802581
monochromatic
#16220A #355117 #548125 #73B133 #92CE53

Accessibility & contrast

On white

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

On black

4.54
#548125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##548125#FFFFFF#000000##FFFFFF
##5481251.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877717
Deuteranopia (green-blind)
#80742D
Tritanopia (blue-blind)
#557C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548125;
/* rgb */ color: rgb(84, 129, 37);
/* oklch */ color: oklch(55.1% 0.131 132.0);
Tailwind
colors: {
  custom: {
    50: '#88a665',
    500: '#548125',
    950: '#000000',
  },
}
SCSS
$custom: #548125;
$custom-light: #88a665;
$custom-dark: #000000;
JSON
{
  "hex": "#548125",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 89.348,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.13098,
    "h": 132
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#548125
secondary
#8050B2
accent
#49DF92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548125

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

Preview Lab → · Contrast checker → · Palette generator →

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