#548115#548115

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

Color values

HEX#548115
RGBrgb(84, 129, 21)
HSLhsl(85, 72%, 29%)
HSVhsv(85, 84%, 51%)
CMYKcmyk(34.9%, 0%, 83.7%, 49.4%)
CIE-LABlab(49.06, -32.10, 48.57)
CIE-LCHlch(49.06, 58.22, 123.46°)
OKLaboklab(55.01% -0.0915 0.1066)
OKLCHoklch(55.01% 0.14 130.6)
XYZxyz(11.6417, 17.6391, 3.5006)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548115 #421581
analogous
#817815 #548115 #1E8115
triadic
#548115 #155481 #811554
tetradic
#548115 #158178 #421581 #81151E
square
#548115 #158178 #421581 #81151E
split-complementary
#548115 #151E81 #781581
monochromatic
#111A04 #324C0C #548115 #76B61E #96DE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #548115;
/* rgb */ color: rgb(84, 129, 21);
/* oklch */ color: oklch(55.0% 0.140 130.6);
Tailwind
colors: {
  custom: {
    50: '#89a65e',
    500: '#548115',
    950: '#000000',
  },
}
SCSS
$custom: #548115;
$custom-light: #89a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#548115",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 85,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.14048,
    "h": 130.6
  },
  "luminance": 0.17639
}

Semantic roles & 50–950 ramp

primary
#548115
secondary
#6F3CB6
accent
#39EF85
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #548115

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

Preview Lab → · Contrast checker → · Palette generator →

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