#548B1F#548B1F

#548B1F is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.148 H 133.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#548B1F
RGBrgb(84, 139, 31)
HSLhsl(91, 64%, 33%)
HSVhsv(91, 78%, 55%)
CMYKcmyk(39.6%, 0%, 77.7%, 45.5%)
CIE-LABlab(52.34, -36.06, 48.42)
CIE-LCHlch(52.34, 60.37, 126.68°)
OKLaboklab(57.71% -0.1015 0.1079)
OKLCHoklch(57.71% 0.148 133.3)
XYZxyz(13.1359, 20.4484, 4.5509)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548B1F #561F8B
analogous
#8A8B1F #548B1F #1F8B20
triadic
#548B1F #1F548B #8B1F54
tetradic
#548B1F #1F8A8B #561F8B #8B201F
square
#548B1F #1F8A8B #561F8B #8B201F
split-complementary
#548B1F #201F8B #8B1F8A
monochromatic
#182709 #365914 #548B1F #72BD2A #91D74D

Accessibility & contrast

On white

4.13
#548B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#548B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548B1F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548B1F#FFFFFF#000000##000000
##548B1F1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#548577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #548b1f;
/* rgb */ color: rgb(84, 139, 31);
/* oklch */ color: oklch(57.7% 0.148 133.3);
Tailwind
colors: {
  custom: {
    50: '#89ad63',
    500: '#548b1f',
    950: '#000000',
  },
}
SCSS
$custom: #548b1f;
$custom-light: #89ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#548b1f",
  "rgb": {
    "r": 84,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 90.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57706,
    "c": 0.14813,
    "h": 133.3
  },
  "luminance": 0.20449
}

Semantic roles & 50–950 ramp

primary
#548B1F
secondary
#844CBA
accent
#41E795
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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