#548117#548117

#548117 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.140 H 130.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#548117
RGBrgb(84, 129, 23)
HSLhsl(85, 70%, 30%)
HSVhsv(85, 82%, 51%)
CMYKcmyk(34.9%, 0%, 82.2%, 49.4%)
CIE-LABlab(49.06, -32.00, 47.98)
CIE-LCHlch(49.06, 57.67, 123.71°)
OKLaboklab(55.02% -0.0911 0.1057)
OKLCHoklch(55.02% 0.14 130.8)
XYZxyz(11.6610, 17.6468, 3.6022)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548117 #441781
analogous
#817917 #548117 #1F8117
triadic
#548117 #175481 #811754
tetradic
#548117 #178179 #441781 #81171F
square
#548117 #178179 #441781 #81171F
split-complementary
#548117 #171F81 #791781
monochromatic
#111A05 #324D0E #548117 #76B520 #96DB37

Accessibility & contrast

On white

4.64
#548117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#548117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #548117
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548117#FFFFFF#000000##FFFFFF
##5481171.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#567B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548117;
/* rgb */ color: rgb(84, 129, 23);
/* oklch */ color: oklch(55.0% 0.140 130.8);
Tailwind
colors: {
  custom: {
    50: '#89a65e',
    500: '#548117',
    950: '#000000',
  },
}
SCSS
$custom: #548117;
$custom-light: #89a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#548117",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 85.472,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55016,
    "c": 0.13952,
    "h": 130.8
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#548117
secondary
#713EB5
accent
#3BED87
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #548117

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

Preview Lab → · Contrast checker → · Palette generator →

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