#548D1F#548D1F

#548D1F is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.151 H 133.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#548D1F
RGBrgb(84, 141, 31)
HSLhsl(91, 64%, 34%)
HSVhsv(91, 78%, 55%)
CMYKcmyk(40.4%, 0%, 78%, 44.7%)
CIE-LABlab(52.99, -36.94, 49.04)
CIE-LCHlch(52.99, 61.40, 126.99°)
OKLaboklab(58.23% -0.1039 0.1092)
OKLCHoklch(58.23% 0.151 133.6)
XYZxyz(13.4281, 21.0328, 4.6483)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D1F #581F8D
analogous
#8B8D1F #548D1F #1F8D21
triadic
#548D1F #1F548D #8D1F54
tetradic
#548D1F #1F8B8D #581F8D #8D211F
square
#548D1F #1F8B8D #581F8D #8D211F
split-complementary
#548D1F #211F8D #8D1F8B
monochromatic
#182909 #365B14 #548D1F #72BF2A #91D84E

Accessibility & contrast

On white

4.03
#548D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#548D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D1F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D1F#FFFFFF#000000##000000
##548D1F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#548778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548d1f;
/* rgb */ color: rgb(84, 141, 31);
/* oklch */ color: oklch(58.2% 0.151 133.6);
Tailwind
colors: {
  custom: {
    50: '#89af64',
    500: '#548d1f',
    950: '#000000',
  },
}
SCSS
$custom: #548d1f;
$custom-light: #89af64;
$custom-dark: #000000;
JSON
{
  "hex": "#548d1f",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 91.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58233,
    "c": 0.1507,
    "h": 133.6
  },
  "luminance": 0.21033
}

Semantic roles & 50–950 ramp

primary
#548D1F
secondary
#864DBB
accent
#41E797
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#548D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva