#548D1C#548D1C

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

Color values

HEX#548D1C
RGBrgb(84, 141, 28)
HSLhsl(90, 67%, 33%)
HSVhsv(90, 80%, 55%)
CMYKcmyk(40.4%, 0%, 80.1%, 44.7%)
CIE-LABlab(52.97, -37.11, 50.02)
CIE-LCHlch(52.97, 62.29, 126.57°)
OKLaboklab(58.22% -0.1045 0.1108)
OKLCHoklch(58.22% 0.152 133.3)
XYZxyz(13.3904, 21.0178, 4.4497)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548D1C #551C8D
analogous
#8C8D1C #548D1C #1C8D1C
triadic
#548D1C #1C548D #8D1C54
tetradic
#548D1C #1C8C8D #551C8D #8D1C1C
square
#548D1C #1C8C8D #551C8D #8D1C1C
split-complementary
#548D1C #1C1C8D #8D1C8C
monochromatic
#172708 #365A12 #548D1C #72C026 #91DB49

Accessibility & contrast

On white

4.04
#548D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#548D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548D1C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548D1C#FFFFFF#000000##000000
##548D1C1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #548d1c;
/* rgb */ color: rgb(84, 141, 28);
/* oklch */ color: oklch(58.2% 0.152 133.3);
Tailwind
colors: {
  custom: {
    50: '#89af62',
    500: '#548d1c',
    950: '#000000',
  },
}
SCSS
$custom: #548d1c;
$custom-light: #89af62;
$custom-dark: #000000;
JSON
{
  "hex": "#548d1c",
  "rgb": {
    "r": 84,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 90.265,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58215,
    "c": 0.15231,
    "h": 133.3
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#548D1C
secondary
#8348BD
accent
#3EEA95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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