#548118#548118

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

Color values

HEX#548118
RGBrgb(84, 129, 24)
HSLhsl(86, 69%, 30%)
HSVhsv(86, 81%, 51%)
CMYKcmyk(34.9%, 0%, 81.4%, 49.4%)
CIE-LABlab(49.07, -31.95, 47.67)
CIE-LCHlch(49.07, 57.39, 123.84°)
OKLaboklab(55.02% -0.0909 0.1052)
OKLCHoklch(55.02% 0.139 130.8)
XYZxyz(11.6712, 17.6509, 3.6560)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548118 #451881
analogous
#817918 #548118 #208118
triadic
#548118 #185481 #811854
tetradic
#548118 #188179 #451881 #811820
square
#548118 #188179 #451881 #811820
split-complementary
#548118 #182081 #791881
monochromatic
#111A05 #324D0E #548118 #76B522 #95DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##548118#FFFFFF#000000##FFFFFF
##5481181.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)
#817324
Tritanopia (blue-blind)
#567B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548118;
/* rgb */ color: rgb(84, 129, 24);
/* oklch */ color: oklch(55.0% 0.139 130.8);
Tailwind
colors: {
  custom: {
    50: '#88a65f',
    500: '#548118',
    950: '#000000',
  },
}
SCSS
$custom: #548118;
$custom-light: #88a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#548118",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 85.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.13902,
    "h": 130.8
  },
  "luminance": 0.17651
}

Semantic roles & 50–950 ramp

primary
#548118
secondary
#7240B5
accent
#3CEB87
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #548118

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

Preview Lab → · Contrast checker → · Palette generator →

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