#54952F#54952F

#54952F is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.5% C 0.151 H 136.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#54952F
RGBrgb(84, 149, 47)
HSLhsl(98, 52%, 38%)
HSVhsv(98, 68%, 58%)
CMYKcmyk(43.6%, 0%, 68.5%, 41.6%)
CIE-LABlab(55.67, -39.22, 45.58)
CIE-LCHlch(55.67, 60.13, 130.71°)
OKLaboklab(60.47% -0.1089 0.1043)
OKLCHoklch(60.47% 0.151 136.2)
XYZxyz(14.9163, 23.5841, 6.4550)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54952F #702F95
analogous
#87952F #54952F #2F953D
triadic
#54952F #2F5495 #952F54
tetradic
#54952F #2F8795 #702F95 #953D2F
square
#54952F #2F8795 #702F95 #953D2F
split-complementary
#54952F #3D2F95 #952F87
monochromatic
#203812 #3A6620 #54952F #6FC23F #92D16D

Accessibility & contrast

On white

3.67
#54952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#54952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54952F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54952F#FFFFFF#000000##000000
##54952F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8921
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#519080
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #54952f;
/* rgb */ color: rgb(84, 149, 47);
/* oklch */ color: oklch(60.5% 0.151 136.2);
Tailwind
colors: {
  custom: {
    50: '#89b46d',
    500: '#54952f',
    950: '#000000',
  },
}
SCSS
$custom: #54952f;
$custom-light: #89b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#54952f",
  "rgb": {
    "r": 84,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 98.235,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60466,
    "c": 0.15075,
    "h": 136.2
  },
  "luminance": 0.23585
}

Semantic roles & 50–950 ramp

primary
#54952F
secondary
#9B67B8
accent
#4CDBA8
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54952F

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

Preview Lab → · Contrast checker → · Palette generator →

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