#548C1C#548C1C

#548C1C is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.151 H 133.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#548C1C
RGBrgb(84, 140, 28)
HSLhsl(90, 67%, 33%)
HSVhsv(90, 80%, 55%)
CMYKcmyk(40%, 0%, 80%, 45.1%)
CIE-LABlab(52.65, -36.67, 49.72)
CIE-LCHlch(52.65, 61.78, 126.41°)
OKLaboklab(57.95% -0.1034 0.1101)
OKLCHoklch(57.95% 0.151 133.2)
XYZxyz(13.2436, 20.7242, 4.4007)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C1C #541C8C
analogous
#8C8C1C #548C1C #1C8C1C
triadic
#548C1C #1C548C #8C1C54
tetradic
#548C1C #1C8C8C #541C8C #8C1C1C
square
#548C1C #1C8C8C #541C8C #8C1C1C
split-complementary
#548C1C #1C1C8C #8C1C8C
monochromatic
#172608 #355912 #548C1C #73BF26 #91DA48

Accessibility & contrast

On white

4.08
#548C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#548C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548C1C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548C1C#FFFFFF#000000##000000
##548C1C1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#548677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c1c;
/* rgb */ color: rgb(84, 140, 28);
/* oklch */ color: oklch(58.0% 0.151 133.2);
Tailwind
colors: {
  custom: {
    50: '#89ae62',
    500: '#548c1c',
    950: '#000000',
  },
}
SCSS
$custom: #548c1c;
$custom-light: #89ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#548c1c",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.15104,
    "h": 133.2
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#548C1C
secondary
#8248BC
accent
#3EEA94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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