#54981D#54981D

#54981D 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#54981D
RGBrgb(84, 152, 29)
HSLhsl(93, 68%, 35%)
HSVhsv(93, 81%, 60%)
CMYKcmyk(44.7%, 0%, 80.9%, 40.4%)
CIE-LABlab(56.51, -41.73, 53.02)
CIE-LCHlch(56.51, 67.47, 128.20°)
OKLaboklab(61.12% -0.1169 0.1172)
OKLCHoklch(61.12% 0.166 134.9)
XYZxyz(15.1058, 24.4291, 5.0815)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54981D #611D98
analogous
#91981D #54981D #1D9824
triadic
#54981D #1D5498 #981D54
tetradic
#54981D #1D9198 #611D98 #98241D
square
#54981D #1D9198 #611D98 #98241D
split-complementary
#54981D #241D98 #981D91
monochromatic
#1B3109 #386513 #54981D #70CB27 #90DE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54981D#FFFFFF#000000##000000
##54981D1.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: #54981d;
/* rgb */ color: rgb(84, 152, 29);
/* oklch */ color: oklch(61.1% 0.166 134.9);
Tailwind
colors: {
  custom: {
    50: '#8bb764',
    500: '#54981d',
    950: '#000000',
  },
}
SCSS
$custom: #54981d;
$custom-light: #8bb764;
$custom-dark: #000000;
JSON
{
  "hex": "#54981d",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 93.171,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61123,
    "c": 0.16554,
    "h": 134.9
  },
  "luminance": 0.2443
}

Semantic roles & 50–950 ramp

primary
#54981D
secondary
#8E50C1
accent
#3DEB9D
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54981D

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

Preview Lab → · Contrast checker → · Palette generator →

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