#548227#548227

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

Color values

HEX#548227
RGBrgb(84, 130, 39)
HSLhsl(90, 54%, 33%)
HSVhsv(90, 70%, 51%)
CMYKcmyk(35.4%, 0%, 70%, 49%)
CIE-LABlab(49.49, -31.42, 42.46)
CIE-LCHlch(49.49, 52.82, 126.50°)
OKLaboklab(55.4% -0.0883 0.0966)
OKLCHoklch(55.4% 0.131 132.4)
XYZxyz(12.0048, 17.9961, 4.7601)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548227 #552782
analogous
#818227 #548227 #278228
triadic
#548227 #275482 #822754
tetradic
#548227 #278182 #552782 #822827
square
#548227 #278182 #552782 #822827
split-complementary
#548227 #282782 #822781
monochromatic
#17240B #365319 #548227 #72B135 #91CD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548227#FFFFFF#000000##000000
##5482271.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)
#88781A
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#557D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #548227;
/* rgb */ color: rgb(84, 130, 39);
/* oklch */ color: oklch(55.4% 0.131 132.4);
Tailwind
colors: {
  custom: {
    50: '#88a666',
    500: '#548227',
    950: '#000000',
  },
}
SCSS
$custom: #548227;
$custom-light: #88a666;
$custom-dark: #000000;
JSON
{
  "hex": "#548227",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 90.33,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.13088,
    "h": 132.4
  },
  "luminance": 0.17997
}

Semantic roles & 50–950 ramp

primary
#548227
secondary
#8353B1
accent
#4BDD95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #548227

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

Preview Lab → · Contrast checker → · Palette generator →

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