#548731#548731

#548731 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.8% C 0.130 H 134.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#548731
RGBrgb(84, 135, 49)
HSLhsl(96, 47%, 36%)
HSVhsv(96, 64%, 53%)
CMYKcmyk(37.8%, 0%, 63.7%, 47.1%)
CIE-LABlab(51.19, -32.83, 39.83)
CIE-LCHlch(51.19, 51.62, 129.50°)
OKLaboklab(56.81% -0.0913 0.0924)
OKLCHoklch(56.81% 0.13 134.7)
XYZxyz(12.8742, 19.4339, 5.9779)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#548731 #643187
analogous
#7F8731 #548731 #318739
triadic
#548731 #315487 #873154
tetradic
#548731 #317F87 #643187 #873931
square
#548731 #317F87 #643187 #873931
split-complementary
#548731 #393187 #87317F
monochromatic
#1C2D10 #385A21 #548731 #70B441 #90C96A

Accessibility & contrast

On white

4.30
#548731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#548731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #548731
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##548731#FFFFFF#000000##000000
##5487311.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D27
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#538275
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #548731;
/* rgb */ color: rgb(84, 135, 49);
/* oklch */ color: oklch(56.8% 0.130 134.7);
Tailwind
colors: {
  custom: {
    50: '#88aa6d',
    500: '#548731',
    950: '#000000',
  },
}
SCSS
$custom: #548731;
$custom-light: #88aa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#548731",
  "rgb": {
    "r": 84,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 95.581,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56811,
    "c": 0.12989,
    "h": 134.7
  },
  "luminance": 0.19435
}

Semantic roles & 50–950 ramp

primary
#548731
secondary
#9164B0
accent
#51D6A0
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #548731

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

Preview Lab → · Contrast checker → · Palette generator →

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