#548A2F#548A2F

#548A2F is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.6% C 0.136 H 134.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#548A2F
RGBrgb(84, 138, 47)
HSLhsl(96, 49%, 36%)
HSVhsv(96, 66%, 54%)
CMYKcmyk(39.1%, 0%, 65.9%, 45.9%)
CIE-LABlab(52.14, -34.39, 41.79)
CIE-LCHlch(52.14, 54.12, 129.45°)
OKLaboklab(57.58% -0.0957 0.0963)
OKLCHoklch(57.58% 0.136 134.8)
XYZxyz(13.2574, 20.2664, 5.9020)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A2F #652F8A
analogous
#828A2F #548A2F #2F8A38
triadic
#548A2F #2F548A #8A2F54
tetradic
#548A2F #2F828A #652F8A #8A382F
square
#548A2F #2F828A #652F8A #8A382F
split-complementary
#548A2F #382F8A #8A2F82
monochromatic
#1C2F10 #385C1F #548A2F #70B83F #90CC68

Accessibility & contrast

On white

4.16
#548A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#548A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548A2F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548A2F#FFFFFF#000000##000000
##548A2F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#538577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #548a2f;
/* rgb */ color: rgb(84, 138, 47);
/* oklch */ color: oklch(57.6% 0.136 134.8);
Tailwind
colors: {
  custom: {
    50: '#88ac6c',
    500: '#548a2f',
    950: '#000000',
  },
}
SCSS
$custom: #548a2f;
$custom-light: #88ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#548a2f",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 95.604,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57577,
    "c": 0.13576,
    "h": 134.8
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#548A2F
secondary
#9262B3
accent
#4FD9A1
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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