#54952D#54952D

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

Color values

HEX#54952D
RGBrgb(84, 149, 45)
HSLhsl(98, 54%, 38%)
HSVhsv(98, 70%, 58%)
CMYKcmyk(43.6%, 0%, 69.8%, 41.6%)
CIE-LABlab(55.65, -39.39, 46.40)
CIE-LCHlch(55.65, 60.86, 130.33°)
OKLaboklab(60.45% -0.1095 0.1057)
OKLCHoklch(60.45% 0.152 136)
XYZxyz(14.8769, 23.5683, 6.2474)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54952D #6E2D95
analogous
#88952D #54952D #2D953A
triadic
#54952D #2D5495 #952D54
tetradic
#54952D #2D8895 #6E2D95 #953A2D
square
#54952D #2D8895 #6E2D95 #953A2D
split-complementary
#54952D #3A2D95 #952D88
monochromatic
#1F3711 #3A661F #54952D #6FC43B #91D26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54952D#FFFFFF#000000##000000
##54952D1.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)
#9A891E
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#528F80
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #54952d;
/* rgb */ color: rgb(84, 149, 45);
/* oklch */ color: oklch(60.4% 0.152 136.0);
Tailwind
colors: {
  custom: {
    50: '#8ab46c',
    500: '#54952d',
    950: '#000000',
  },
}
SCSS
$custom: #54952d;
$custom-light: #8ab46c;
$custom-dark: #000000;
JSON
{
  "hex": "#54952d",
  "rgb": {
    "r": 84,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 97.5,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.15219,
    "h": 136
  },
  "luminance": 0.23569
}

Semantic roles & 50–950 ramp

primary
#54952D
secondary
#9965B9
accent
#4BDDA6
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54952D

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

Preview Lab → · Contrast checker → · Palette generator →

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