#548C1F#548C1F

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

Color values

HEX#548C1F
RGBrgb(84, 140, 31)
HSLhsl(91, 64%, 34%)
HSVhsv(91, 78%, 55%)
CMYKcmyk(40%, 0%, 77.9%, 45.1%)
CIE-LABlab(52.66, -36.50, 48.73)
CIE-LCHlch(52.66, 60.89, 126.83°)
OKLaboklab(57.97% -0.1027 0.1085)
OKLCHoklch(57.97% 0.149 133.4)
XYZxyz(13.2814, 20.7393, 4.5993)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548C1F #571F8C
analogous
#8A8C1F #548C1F #1F8C20
triadic
#548C1F #1F548C #8C1F54
tetradic
#548C1F #1F8A8C #571F8C #8C201F
square
#548C1F #1F8A8C #571F8C #8C201F
split-complementary
#548C1F #201F8C #8C1F8A
monochromatic
#182809 #365A14 #548C1F #72BE2A #91D84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548C1F#FFFFFF#000000##000000
##548C1F1.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)
#928105
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#548677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #548c1f;
/* rgb */ color: rgb(84, 140, 31);
/* oklch */ color: oklch(58.0% 0.149 133.4);
Tailwind
colors: {
  custom: {
    50: '#89ae64',
    500: '#548c1f',
    950: '#000000',
  },
}
SCSS
$custom: #548c1f;
$custom-light: #89ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#548c1f",
  "rgb": {
    "r": 84,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 90.826,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.14941,
    "h": 133.4
  },
  "luminance": 0.2074
}

Semantic roles & 50–950 ramp

primary
#548C1F
secondary
#854CBB
accent
#41E796
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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