#548338#548338

#548338 is a mid, moderate yellow-green. Relative luminance 0.184; OKLCH L 55.8% C 0.118 H 135.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#548338
RGBrgb(84, 131, 56)
HSLhsl(98, 40%, 37%)
HSVhsv(98, 57%, 51%)
CMYKcmyk(35.9%, 0%, 57.3%, 48.6%)
CIE-LABlab(49.98, -30.22, 35.06)
CIE-LCHlch(49.98, 46.29, 130.77°)
OKLaboklab(55.85% -0.0836 0.0828)
OKLCHoklch(55.85% 0.118 135.3)
XYZxyz(12.4860, 18.4024, 6.6348)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548338 #673883
analogous
#7A8338 #548338 #388342
triadic
#548338 #385483 #833854
tetradic
#548338 #387A83 #673883 #834238
square
#548338 #387A83 #673883 #834238
split-complementary
#548338 #423883 #83387A
monochromatic
#1D2D13 #395826 #548338 #6FAE4A #91C372

Accessibility & contrast

On white

4.49
#548338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#548338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548338
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548338#FFFFFF#000000##000000
##5483381.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887931
Deuteranopia (green-blind)
#81753D
Tritanopia (blue-blind)
#537E72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #548338;
/* rgb */ color: rgb(84, 131, 56);
/* oklch */ color: oklch(55.8% 0.118 135.3);
Tailwind
colors: {
  custom: {
    50: '#87a771',
    500: '#548338',
    950: '#000000',
  },
}
SCSS
$custom: #548338;
$custom-light: #87a771;
$custom-dark: #000000;
JSON
{
  "hex": "#548338",
  "rgb": {
    "r": 84,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 97.6,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.11771,
    "h": 135.3
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#548338
secondary
#946BAC
accent
#58D0A3
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #548338

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

Preview Lab → · Contrast checker → · Palette generator →

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