#548231#548231

#548231 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.5% C 0.123 H 133.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#548231
RGBrgb(84, 130, 49)
HSLhsl(94, 45%, 35%)
HSVhsv(94, 62%, 51%)
CMYKcmyk(35.4%, 0%, 62.3%, 49%)
CIE-LABlab(49.58, -30.51, 38.03)
CIE-LCHlch(49.58, 48.76, 128.74°)
OKLaboklab(55.5% -0.0849 0.0886)
OKLCHoklch(55.5% 0.123 133.8)
XYZxyz(12.1929, 18.0713, 5.7508)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548231 #5F3182
analogous
#7C8231 #548231 #318237
triadic
#548231 #315482 #823154
tetradic
#548231 #317C82 #5F3182 #823731
square
#548231 #317C82 #5F3182 #823731
split-complementary
#548231 #373182 #82317C
monochromatic
#1B290F #375620 #548231 #71AE42 #90C668

Accessibility & contrast

On white

4.55
#548231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#548231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548231
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548231#FFFFFF#000000##000000
##5482311.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#807537
Tritanopia (blue-blind)
#547D71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #548231;
/* rgb */ color: rgb(84, 130, 49);
/* oklch */ color: oklch(55.5% 0.123 133.8);
Tailwind
colors: {
  custom: {
    50: '#87a66c',
    500: '#548231',
    950: '#000000',
  },
}
SCSS
$custom: #548231;
$custom-light: #87a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#548231",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 94.074,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.555,
    "c": 0.12271,
    "h": 133.8
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#548231
secondary
#8D62AD
accent
#53D59D
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #548231

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

Preview Lab → · Contrast checker → · Palette generator →

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