#548017#548017

#548017 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.138 H 130.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#548017
RGBrgb(84, 128, 23)
HSLhsl(85, 70%, 30%)
HSVhsv(85, 82%, 50%)
CMYKcmyk(34.4%, 0%, 82%, 49.8%)
CIE-LABlab(48.74, -31.54, 47.68)
CIE-LCHlch(48.74, 57.17, 123.49°)
OKLaboklab(54.75% -0.0899 0.105)
OKLCHoklch(54.75% 0.138 130.5)
XYZxyz(11.5299, 17.3846, 3.5585)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548017 #431780
analogous
#807817 #548017 #208017
triadic
#548017 #175480 #801754
tetradic
#548017 #178078 #431780 #801720
square
#548017 #178078 #431780 #801720
split-complementary
#548017 #172080 #781780
monochromatic
#111A05 #324C0E #548017 #76B420 #96DB36

Accessibility & contrast

On white

4.69
#548017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#548017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #548017
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548017#FFFFFF#000000##FFFFFF
##5480171.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#567A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #548017;
/* rgb */ color: rgb(84, 128, 23);
/* oklch */ color: oklch(54.8% 0.138 130.5);
Tailwind
colors: {
  custom: {
    50: '#88a55e',
    500: '#548017',
    950: '#000000',
  },
}
SCSS
$custom: #548017;
$custom-light: #88a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#548017",
  "rgb": {
    "r": 84,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 85.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.13823,
    "h": 130.5
  },
  "luminance": 0.17385
}

Semantic roles & 50–950 ramp

primary
#548017
secondary
#703EB4
accent
#3BEC86
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #548017

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

Preview Lab → · Contrast checker → · Palette generator →

#548017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva