#54902C#54902C

#54902C is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.1% C 0.146 H 135.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#54902C
RGBrgb(84, 144, 44)
HSLhsl(96, 53%, 37%)
HSVhsv(96, 69%, 56%)
CMYKcmyk(41.7%, 0%, 69.4%, 43.5%)
CIE-LABlab(54.04, -37.31, 45.12)
CIE-LCHlch(54.04, 58.55, 129.59°)
OKLaboklab(59.13% -0.1039 0.1029)
OKLCHoklch(59.13% 0.146 135.3)
XYZxyz(14.0837, 22.0124, 5.8891)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54902C #682C90
analogous
#86902C #54902C #2C9036
triadic
#54902C #2C5490 #902C54
tetradic
#54902C #2C8690 #682C90 #90362C
square
#54902C #2C8690 #682C90 #90362C
split-complementary
#54902C #362C90 #902C86
monochromatic
#1D320F #39611E #54902C #6FBF3A #91D066

Accessibility & contrast

On white

3.89
#54902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#54902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54902C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54902C#FFFFFF#000000##000000
##54902C1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841E
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#528B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #54902c;
/* rgb */ color: rgb(84, 144, 44);
/* oklch */ color: oklch(59.1% 0.146 135.3);
Tailwind
colors: {
  custom: {
    50: '#89b16b',
    500: '#54902c',
    950: '#000000',
  },
}
SCSS
$custom: #54902c;
$custom-light: #89b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#54902c",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 96,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.14625,
    "h": 135.3
  },
  "luminance": 0.22013
}

Semantic roles & 50–950 ramp

primary
#54902C
secondary
#9461B7
accent
#4BDDA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54902C

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

Preview Lab → · Contrast checker → · Palette generator →

#54902C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva