#548226#548226

#548226 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.132 H 132.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#548226
RGBrgb(84, 130, 38)
HSLhsl(90, 55%, 33%)
HSVhsv(90, 71%, 51%)
CMYKcmyk(35.4%, 0%, 70.8%, 49%)
CIE-LABlab(49.48, -31.50, 42.87)
CIE-LCHlch(49.48, 53.20, 126.31°)
OKLaboklab(55.39% -0.0886 0.0974)
OKLCHoklch(55.39% 0.132 132.3)
XYZxyz(11.9885, 17.9896, 4.6740)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548226 #542682
analogous
#828226 #548226 #268226
triadic
#548226 #265482 #822654
tetradic
#548226 #268282 #542682 #822626
square
#548226 #268282 #542682 #822626
split-complementary
#548226 #262682 #822682
monochromatic
#17230A #355318 #548226 #73B134 #91CD55

Accessibility & contrast

On white

4.57
#548226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#548226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548226
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548226#FFFFFF#000000##000000
##5482261.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887818
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#557D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #548226;
/* rgb */ color: rgb(84, 130, 38);
/* oklch */ color: oklch(55.4% 0.132 132.3);
Tailwind
colors: {
  custom: {
    50: '#88a666',
    500: '#548226',
    950: '#000000',
  },
}
SCSS
$custom: #548226;
$custom-light: #88a666;
$custom-dark: #000000;
JSON
{
  "hex": "#548226",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 90,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.13162,
    "h": 132.3
  },
  "luminance": 0.1799
}

Semantic roles & 50–950 ramp

primary
#548226
secondary
#8252B2
accent
#4ADE94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548226

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

Preview Lab → · Contrast checker → · Palette generator →

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