#548126#548126

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

Color values

HEX#548126
RGBrgb(84, 129, 38)
HSLhsl(90, 54%, 33%)
HSVhsv(90, 71%, 51%)
CMYKcmyk(34.9%, 0%, 70.5%, 49.4%)
CIE-LABlab(49.16, -31.04, 42.54)
CIE-LCHlch(49.16, 52.66, 126.12°)
OKLaboklab(55.12% -0.0873 0.0967)
OKLCHoklch(55.12% 0.13 132.1)
XYZxyz(11.8561, 17.7248, 4.6299)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548126 #532681
analogous
#818026 #548126 #278126
triadic
#548126 #265481 #812654
tetradic
#548126 #268180 #532681 #812627
square
#548126 #268180 #532681 #812627
split-complementary
#548126 #262781 #802681
monochromatic
#16220A #355218 #548126 #73B034 #91CD55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548126#FFFFFF#000000##FFFFFF
##5481261.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)
#877719
Deuteranopia (green-blind)
#80742E
Tritanopia (blue-blind)
#557C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548126;
/* rgb */ color: rgb(84, 129, 38);
/* oklch */ color: oklch(55.1% 0.130 132.1);
Tailwind
colors: {
  custom: {
    50: '#88a666',
    500: '#548126',
    950: '#000000',
  },
}
SCSS
$custom: #548126;
$custom-light: #88a666;
$custom-dark: #000000;
JSON
{
  "hex": "#548126",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 89.67,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.13025,
    "h": 132.1
  },
  "luminance": 0.17725
}

Semantic roles & 50–950 ramp

primary
#548126
secondary
#8151B1
accent
#4ADE93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548126

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

Preview Lab → · Contrast checker → · Palette generator →

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