#548238#548238

#548238 is a mid, moderate yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.116 H 135.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#548238
RGBrgb(84, 130, 56)
HSLhsl(97, 40%, 36%)
HSVhsv(97, 57%, 51%)
CMYKcmyk(35.4%, 0%, 56.9%, 49%)
CIE-LABlab(49.66, -29.75, 34.68)
CIE-LCHlch(49.66, 45.69, 130.63°)
OKLaboklab(55.59% -0.0823 0.082)
OKLCHoklch(55.59% 0.116 135.1)
XYZxyz(12.3523, 18.1351, 6.5902)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548238 #663882
analogous
#798238 #548238 #388241
triadic
#548238 #385482 #823854
tetradic
#548238 #387982 #663882 #824138
square
#548238 #387982 #663882 #824138
split-complementary
#548238 #413882 #823879
monochromatic
#1D2C13 #385726 #548238 #70AD4A #90C272

Accessibility & contrast

On white

4.54
#548238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#548238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548238
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548238#FFFFFF#000000##000000
##5482381.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#80753D
Tritanopia (blue-blind)
#537D72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #548238;
/* rgb */ color: rgb(84, 130, 56);
/* oklch */ color: oklch(55.6% 0.116 135.1);
Tailwind
colors: {
  custom: {
    50: '#87a671',
    500: '#548238',
    950: '#000000',
  },
}
SCSS
$custom: #548238;
$custom-light: #87a671;
$custom-dark: #000000;
JSON
{
  "hex": "#548238",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 97.297,
    "s": 39.785,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.11621,
    "h": 135.1
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#548238
secondary
#936BAB
accent
#58D0A2
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #548238

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

Preview Lab → · Contrast checker → · Palette generator →

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