#548A2A#548A2A

#548A2A is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.140 H 134.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#548A2A
RGBrgb(84, 138, 42)
HSLhsl(94, 53%, 35%)
HSVhsv(94, 70%, 54%)
CMYKcmyk(39.1%, 0%, 69.6%, 45.9%)
CIE-LABlab(52.09, -34.83, 43.92)
CIE-LCHlch(52.09, 56.05, 128.41°)
OKLaboklab(57.53% -0.0973 0.1001)
OKLCHoklch(57.53% 0.14 134.2)
XYZxyz(13.1623, 20.2283, 5.4010)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548A2A #602A8A
analogous
#848A2A #548A2A #2A8A30
triadic
#548A2A #2A548A #8A2A54
tetradic
#548A2A #2A848A #602A8A #8A302A
square
#548A2A #2A848A #602A8A #8A302A
split-complementary
#548A2A #302A8A #8A2A84
monochromatic
#1B2C0D #375B1C #548A2A #71B938 #90CF60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548A2A#FFFFFF#000000##000000
##548A2A1.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)
#8F7F1C
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#548577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #548a2a;
/* rgb */ color: rgb(84, 138, 42);
/* oklch */ color: oklch(57.5% 0.140 134.2);
Tailwind
colors: {
  custom: {
    50: '#88ac69',
    500: '#548a2a',
    950: '#000000',
  },
}
SCSS
$custom: #548a2a;
$custom-light: #88ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#548a2a",
  "rgb": {
    "r": 84,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 93.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.13961,
    "h": 134.2
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#548A2A
secondary
#8D5BB4
accent
#4BDD9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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