#54981C#54981C

#54981C is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.1% C 0.166 H 134.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#54981C
RGBrgb(84, 152, 28)
HSLhsl(93, 69%, 35%)
HSVhsv(93, 82%, 60%)
CMYKcmyk(44.7%, 0%, 81.6%, 40.4%)
CIE-LABlab(56.51, -41.78, 53.31)
CIE-LCHlch(56.51, 67.74, 128.08°)
OKLaboklab(61.12% -0.1171 0.1177)
OKLCHoklch(61.12% 0.166 134.9)
XYZxyz(15.0937, 24.4242, 5.0174)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54981C #601C98
analogous
#92981C #54981C #1C9822
triadic
#54981C #1C5498 #981C54
tetradic
#54981C #1C9298 #601C98 #98221C
square
#54981C #1C9298 #601C98 #98221C
split-complementary
#54981C #221C98 #981C92
monochromatic
#1B3109 #376412 #54981C #71CC26 #90DF50

Accessibility & contrast

On white

3.57
#54981C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#54981C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54981C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54981C#FFFFFF#000000##000000
##54981C1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#529281
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #54981c;
/* rgb */ color: rgb(84, 152, 28);
/* oklch */ color: oklch(61.1% 0.166 134.9);
Tailwind
colors: {
  custom: {
    50: '#8bb764',
    500: '#54981c',
    950: '#000000',
  },
}
SCSS
$custom: #54981c;
$custom-light: #8bb764;
$custom-dark: #000000;
JSON
{
  "hex": "#54981c",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 92.903,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61117,
    "c": 0.16601,
    "h": 134.9
  },
  "luminance": 0.24425
}

Semantic roles & 50–950 ramp

primary
#54981C
secondary
#8D4EC1
accent
#3CEC9C
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54981C

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

Preview Lab → · Contrast checker → · Palette generator →

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