#548123#548123

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

Color values

HEX#548123
RGBrgb(84, 129, 35)
HSLhsl(89, 57%, 32%)
HSVhsv(89, 73%, 51%)
CMYKcmyk(34.9%, 0%, 72.9%, 49.4%)
CIE-LABlab(49.14, -31.27, 43.75)
CIE-LCHlch(49.14, 53.78, 125.55°)
OKLaboklab(55.1% -0.0882 0.0987)
OKLCHoklch(55.1% 0.132 131.8)
XYZxyz(11.8097, 17.7062, 4.3852)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548123 #502381
analogous
#817F23 #548123 #258123
triadic
#548123 #235481 #812354
tetradic
#548123 #23817F #502381 #812325
square
#548123 #23817F #502381 #812325
split-complementary
#548123 #232581 #7F2381
monochromatic
#152109 #355116 #548123 #73B130 #92CF4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548123#FFFFFF#000000##FFFFFF
##5481231.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)
#877714
Deuteranopia (green-blind)
#80742B
Tritanopia (blue-blind)
#557C6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548123;
/* rgb */ color: rgb(84, 129, 35);
/* oklch */ color: oklch(55.1% 0.132 131.8);
Tailwind
colors: {
  custom: {
    50: '#88a664',
    500: '#548123',
    950: '#000000',
  },
}
SCSS
$custom: #548123;
$custom-light: #88a664;
$custom-dark: #000000;
JSON
{
  "hex": "#548123",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 88.723,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.13239,
    "h": 131.8
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#548123
secondary
#7E4DB3
accent
#47E191
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548123

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

Preview Lab → · Contrast checker → · Palette generator →

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