#548F1F#548F1F

#548F1F is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.8% C 0.153 H 133.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#548F1F
RGBrgb(84, 143, 31)
HSLhsl(92, 64%, 34%)
HSVhsv(92, 78%, 56%)
CMYKcmyk(41.3%, 0%, 78.3%, 43.9%)
CIE-LABlab(53.63, -37.81, 49.66)
CIE-LCHlch(53.63, 62.41, 127.28°)
OKLaboklab(58.76% -0.1062 0.1105)
OKLCHoklch(58.76% 0.153 133.9)
XYZxyz(13.7257, 21.6280, 4.7475)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F1F #5A1F8F
analogous
#8C8F1F #548F1F #1F8F22
triadic
#548F1F #1F548F #8F1F54
tetradic
#548F1F #1F8C8F #5A1F8F #8F221F
square
#548F1F #1F8C8F #5A1F8F #8F221F
split-complementary
#548F1F #221F8F #8F1F8C
monochromatic
#192A09 #365D14 #548F1F #72C12A #91D94F

Accessibility & contrast

On white

3.94
#548F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#548F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548F1F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548F1F#FFFFFF#000000##000000
##548F1F1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #548f1f;
/* rgb */ color: rgb(84, 143, 31);
/* oklch */ color: oklch(58.8% 0.153 133.9);
Tailwind
colors: {
  custom: {
    50: '#8ab064',
    500: '#548f1f',
    950: '#000000',
  },
}
SCSS
$custom: #548f1f;
$custom-light: #8ab064;
$custom-dark: #000000;
JSON
{
  "hex": "#548f1f",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 91.607,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.15325,
    "h": 133.9
  },
  "luminance": 0.21629
}

Semantic roles & 50–950 ramp

primary
#548F1F
secondary
#884EBC
accent
#40E798
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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