#548F31#548F31

#548F31 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 58.9% C 0.141 H 135.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#548F31
RGBrgb(84, 143, 49)
HSLhsl(98, 49%, 38%)
HSVhsv(98, 66%, 56%)
CMYKcmyk(41.3%, 0%, 65.7%, 43.9%)
CIE-LABlab(53.76, -36.43, 42.66)
CIE-LCHlch(53.76, 56.10, 130.50°)
OKLaboklab(58.91% -0.1011 0.0984)
OKLCHoklch(58.91% 0.141 135.8)
XYZxyz(14.0326, 21.7507, 6.3641)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548F31 #6C318F
analogous
#838F31 #548F31 #318F3D
triadic
#548F31 #31548F #8F3154
tetradic
#548F31 #31838F #6C318F #8F3D31
square
#548F31 #31838F #6C318F #8F3D31
split-complementary
#548F31 #3D318F #8F3183
monochromatic
#1E3412 #396121 #548F31 #6FBD41 #91CD6D

Accessibility & contrast

On white

3.93
#548F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#548F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548F31
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548F31#FFFFFF#000000##000000
##548F311.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948425
Deuteranopia (green-blind)
#8C7F39
Tritanopia (blue-blind)
#528A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #548f31;
/* rgb */ color: rgb(84, 143, 49);
/* oklch */ color: oklch(58.9% 0.141 135.8);
Tailwind
colors: {
  custom: {
    50: '#89b06e',
    500: '#548f31',
    950: '#000000',
  },
}
SCSS
$custom: #548f31;
$custom-light: #89b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#548f31",
  "rgb": {
    "r": 84,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 97.66,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.14108,
    "h": 135.8
  },
  "luminance": 0.21751
}

Semantic roles & 50–950 ramp

primary
#548F31
secondary
#9867B5
accent
#4FD9A5
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548F31

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

Preview Lab → · Contrast checker → · Palette generator →

#548F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva