#548122#548122

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

Color values

HEX#548122
RGBrgb(84, 129, 34)
HSLhsl(88, 58%, 32%)
HSVhsv(88, 74%, 51%)
CMYKcmyk(34.9%, 0%, 73.6%, 49.4%)
CIE-LABlab(49.13, -31.34, 44.14)
CIE-LCHlch(49.13, 54.14, 125.37°)
OKLaboklab(55.09% -0.0885 0.0994)
OKLCHoklch(55.09% 0.133 131.7)
XYZxyz(11.7950, 17.7004, 4.3081)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548122 #4F2281
analogous
#817F22 #548122 #258122
triadic
#548122 #225481 #812254
tetradic
#548122 #22817F #4F2281 #812225
square
#548122 #22817F #4F2281 #812225
split-complementary
#548122 #222581 #7F2281
monochromatic
#152008 #345115 #548122 #74B12F #92D04D

Accessibility & contrast

On white

4.63
#548122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #548122
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548122#FFFFFF#000000##FFFFFF
##5481221.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#557B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548122;
/* rgb */ color: rgb(84, 129, 34);
/* oklch */ color: oklch(55.1% 0.133 131.7);
Tailwind
colors: {
  custom: {
    50: '#88a664',
    500: '#548122',
    950: '#000000',
  },
}
SCSS
$custom: #548122;
$custom-light: #88a664;
$custom-dark: #000000;
JSON
{
  "hex": "#548122",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 88.421,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5509,
    "c": 0.13308,
    "h": 131.7
  },
  "luminance": 0.17701
}

Semantic roles & 50–950 ramp

primary
#548122
secondary
#7D4BB3
accent
#46E190
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548122

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

Preview Lab → · Contrast checker → · Palette generator →

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