#54981B#54981B

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

Color values

HEX#54981B
RGBrgb(84, 152, 27)
HSLhsl(93, 70%, 35%)
HSVhsv(93, 82%, 60%)
CMYKcmyk(44.7%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.51, -41.83, 53.60)
CIE-LCHlch(56.51, 67.99, 127.97°)
OKLaboklab(61.11% -0.1173 0.1181)
OKLCHoklch(61.11% 0.166 134.8)
XYZxyz(15.0819, 24.4195, 4.9554)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54981B #5F1B98
analogous
#92981B #54981B #1B9821
triadic
#54981B #1B5498 #981B54
tetradic
#54981B #1B9298 #5F1B98 #98211B
square
#54981B #1B9298 #5F1B98 #98211B
split-complementary
#54981B #211B98 #981B92
monochromatic
#1B3009 #376412 #54981B #71CC24 #90E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54981B#FFFFFF#000000##000000
##54981B1.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)
#95862A
Tritanopia (blue-blind)
#529281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #54981b;
/* rgb */ color: rgb(84, 152, 27);
/* oklch */ color: oklch(61.1% 0.166 134.8);
Tailwind
colors: {
  custom: {
    50: '#8bb764',
    500: '#54981b',
    950: '#000000',
  },
}
SCSS
$custom: #54981b;
$custom-light: #8bb764;
$custom-dark: #000000;
JSON
{
  "hex": "#54981b",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 92.64,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.16648,
    "h": 134.8
  },
  "luminance": 0.2442
}

Semantic roles & 50–950 ramp

primary
#54981B
secondary
#8D4DC2
accent
#3BED9C
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #54981B

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

Preview Lab → · Contrast checker → · Palette generator →

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