#548138#548138

#548138 is a mid, moderate yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.115 H 134.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#548138
RGBrgb(84, 129, 56)
HSLhsl(97, 39%, 36%)
HSVhsv(97, 57%, 51%)
CMYKcmyk(34.9%, 0%, 56.6%, 49.4%)
CIE-LABlab(49.34, -29.28, 34.30)
CIE-LCHlch(49.34, 45.10, 130.48°)
OKLaboklab(55.33% -0.081 0.0812)
OKLCHoklch(55.33% 0.115 134.9)
XYZxyz(12.2200, 17.8704, 6.5461)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548138 #653881
analogous
#798138 #548138 #388141
triadic
#548138 #385481 #813854
tetradic
#548138 #387981 #653881 #814138
square
#548138 #387981 #653881 #814138
split-complementary
#548138 #413881 #813879
monochromatic
#1C2C13 #385625 #548138 #70AC4B #90C272

Accessibility & contrast

On white

4.59
#548138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#548138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #548138
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548138#FFFFFF#000000##FFFFFF
##5481381.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857831
Deuteranopia (green-blind)
#7F743D
Tritanopia (blue-blind)
#537C71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #548138;
/* rgb */ color: rgb(84, 129, 56);
/* oklch */ color: oklch(55.3% 0.115 134.9);
Tailwind
colors: {
  custom: {
    50: '#87a671',
    500: '#548138',
    950: '#000000',
  },
}
SCSS
$custom: #548138;
$custom-light: #87a671;
$custom-dark: #000000;
JSON
{
  "hex": "#548138",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 96.986,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.1147,
    "h": 134.9
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#548138
secondary
#926AAB
accent
#58CFA2
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #548138

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

Preview Lab → · Contrast checker → · Palette generator →

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