#54981A#54981A

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

Color values

HEX#54981A
RGBrgb(84, 152, 26)
HSLhsl(92, 71%, 35%)
HSVhsv(92, 83%, 60%)
CMYKcmyk(44.7%, 0%, 82.9%, 40.4%)
CIE-LABlab(56.50, -41.88, 53.88)
CIE-LCHlch(56.50, 68.25, 127.86°)
OKLaboklab(61.11% -0.1175 0.1186)
OKLCHoklch(61.11% 0.167 134.7)
XYZxyz(15.0705, 24.4150, 4.8955)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54981A #5E1A98
analogous
#93981A #54981A #1A981F
triadic
#54981A #1A5498 #981A54
tetradic
#54981A #1A9398 #5E1A98 #981F1A
square
#54981A #1A9398 #5E1A98 #981F1A
split-complementary
#54981A #1F1A98 #981A93
monochromatic
#1A2F08 #376411 #54981A #71CC23 #90E04C

Accessibility & contrast

On white

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

On black

5.88
#54981A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54981A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54981A#FFFFFF#000000##000000
##54981A1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#529281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #54981a;
/* rgb */ color: rgb(84, 152, 26);
/* oklch */ color: oklch(61.1% 0.167 134.7);
Tailwind
colors: {
  custom: {
    50: '#8bb763',
    500: '#54981a',
    950: '#000000',
  },
}
SCSS
$custom: #54981a;
$custom-light: #8bb763;
$custom-dark: #000000;
JSON
{
  "hex": "#54981a",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 92.381,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.16692,
    "h": 134.7
  },
  "luminance": 0.24416
}

Semantic roles & 50–950 ramp

primary
#54981A
secondary
#8C4BC2
accent
#3AEE9B
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #54981A

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

Preview Lab → · Contrast checker → · Palette generator →

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