#548E1B#548E1B

#548E1B is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.154 H 133.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#548E1B
RGBrgb(84, 142, 27)
HSLhsl(90, 68%, 33%)
HSVhsv(90, 81%, 56%)
CMYKcmyk(40.8%, 0%, 81%, 44.3%)
CIE-LABlab(53.29, -37.60, 50.63)
CIE-LCHlch(53.29, 63.07, 126.60°)
OKLaboklab(58.47% -0.1059 0.1119)
OKLCHoklch(58.47% 0.154 133.4)
XYZxyz(13.5268, 21.3093, 4.4371)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548E1B #551B8E
analogous
#8D8E1B #548E1B #1B8E1C
triadic
#548E1B #1B548E #8E1B54
tetradic
#548E1B #1B8D8E #551B8E #8E1C1B
square
#548E1B #1B8D8E #551B8E #8E1C1B
split-complementary
#548E1B #1C1B8E #8E1B8D
monochromatic
#172707 #365B11 #548E1B #72C125 #91DC47

Accessibility & contrast

On white

3.99
#548E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#548E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548E1B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548E1B#FFFFFF#000000##000000
##548E1B1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7E28
Tritanopia (blue-blind)
#548879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #548e1b;
/* rgb */ color: rgb(84, 142, 27);
/* oklch */ color: oklch(58.5% 0.154 133.4);
Tailwind
colors: {
  custom: {
    50: '#8aaf62',
    500: '#548e1b',
    950: '#000000',
  },
}
SCSS
$custom: #548e1b;
$custom-light: #8aaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#548e1b",
  "rgb": {
    "r": 84,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 90.261,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58473,
    "c": 0.15408,
    "h": 133.4
  },
  "luminance": 0.2131
}

Semantic roles & 50–950 ramp

primary
#548E1B
secondary
#8347BE
accent
#3DEB95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #548E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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