#54952A#54952A

#54952A is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.4% C 0.154 H 135.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#54952A
RGBrgb(84, 149, 42)
HSLhsl(96, 56%, 37%)
HSVhsv(96, 72%, 58%)
CMYKcmyk(43.6%, 0%, 71.8%, 41.6%)
CIE-LABlab(55.63, -39.63, 47.59)
CIE-LCHlch(55.63, 61.93, 129.78°)
OKLaboklab(60.42% -0.1103 0.1078)
OKLCHoklch(60.42% 0.154 135.7)
XYZxyz(14.8212, 23.5460, 5.9539)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54952A #6B2A95
analogous
#89952A #54952A #2A9536
triadic
#54952A #2A5495 #952A54
tetradic
#54952A #2A8995 #6B2A95 #95362A
square
#54952A #2A8995 #6B2A95 #95362A
split-complementary
#54952A #362A95 #952A89
monochromatic
#1E360F #39651D #54952A #6FC537 #91D466

Accessibility & contrast

On white

3.68
#54952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#54952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54952A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54952A#FFFFFF#000000##000000
##54952A1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8919
Deuteranopia (green-blind)
#928334
Tritanopia (blue-blind)
#528F80
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #54952a;
/* rgb */ color: rgb(84, 149, 42);
/* oklch */ color: oklch(60.4% 0.154 135.7);
Tailwind
colors: {
  custom: {
    50: '#8ab46a',
    500: '#54952a',
    950: '#000000',
  },
}
SCSS
$custom: #54952a;
$custom-light: #8ab46a;
$custom-dark: #000000;
JSON
{
  "hex": "#54952a",
  "rgb": {
    "r": 84,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 96.449,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60422,
    "c": 0.15426,
    "h": 135.7
  },
  "luminance": 0.23547
}

Semantic roles & 50–950 ramp

primary
#54952A
secondary
#9761BA
accent
#48DFA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54952A

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

Preview Lab → · Contrast checker → · Palette generator →

#54952A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva