#548A1F#548A1F

#548A1F is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.147 H 133.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#548A1F
RGBrgb(84, 138, 31)
HSLhsl(90, 63%, 33%)
HSVhsv(90, 78%, 54%)
CMYKcmyk(39.1%, 0%, 77.5%, 45.9%)
CIE-LABlab(52.02, -35.62, 48.11)
CIE-LCHlch(52.02, 59.86, 126.52°)
OKLaboklab(57.44% -0.1003 0.1072)
OKLCHoklch(57.44% 0.147 133.1)
XYZxyz(12.9918, 20.1601, 4.5028)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A1F #551F8A
analogous
#898A1F #548A1F #1F8A1F
triadic
#548A1F #1F548A #8A1F54
tetradic
#548A1F #1F898A #551F8A #8A1F1F
square
#548A1F #1F898A #551F8A #8A1F1F
split-complementary
#548A1F #1F1F8A #8A1F89
monochromatic
#172609 #365814 #548A1F #72BC2A #91D74C

Accessibility & contrast

On white

4.17
#548A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#548A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548A1F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548A1F#FFFFFF#000000##000000
##548A1F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#548476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #548a1f;
/* rgb */ color: rgb(84, 138, 31);
/* oklch */ color: oklch(57.4% 0.147 133.1);
Tailwind
colors: {
  custom: {
    50: '#89ac63',
    500: '#548a1f',
    950: '#000000',
  },
}
SCSS
$custom: #548a1f;
$custom-light: #89ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#548a1f",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 90.28,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57442,
    "c": 0.14683,
    "h": 133.1
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#548A1F
secondary
#834BBA
accent
#41E695
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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