#548F1C#548F1C

#548F1C is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.155 H 133.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#548F1C
RGBrgb(84, 143, 28)
HSLhsl(91, 67%, 34%)
HSVhsv(91, 80%, 56%)
CMYKcmyk(41.3%, 0%, 80.4%, 43.9%)
CIE-LABlab(53.61, -37.98, 50.63)
CIE-LCHlch(53.61, 63.29, 126.88°)
OKLaboklab(58.74% -0.1069 0.112)
OKLCHoklch(58.74% 0.155 133.6)
XYZxyz(13.6880, 21.6129, 4.5489)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F1C #571C8F
analogous
#8D8F1C #548F1C #1C8F1E
triadic
#548F1C #1C548F #8F1C54
tetradic
#548F1C #1C8D8F #571C8F #8F1E1C
square
#548F1C #1C8D8F #571C8F #8F1E1C
split-complementary
#548F1C #1E1C8F #8F1C8D
monochromatic
#182908 #365C12 #548F1C #72C226 #91DC4A

Accessibility & contrast

On white

3.95
#548F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#548F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548F1C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548F1C#FFFFFF#000000##000000
##548F1C1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#54897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f1c;
/* rgb */ color: rgb(84, 143, 28);
/* oklch */ color: oklch(58.7% 0.155 133.6);
Tailwind
colors: {
  custom: {
    50: '#8ab063',
    500: '#548f1c',
    950: '#000000',
  },
}
SCSS
$custom: #548f1c;
$custom-light: #8ab063;
$custom-dark: #000000;
JSON
{
  "hex": "#548f1c",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 90.783,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.15484,
    "h": 133.6
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#548F1C
secondary
#8549BE
accent
#3EEA96
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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