#54981E#54981E

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

Color values

HEX#54981E
RGBrgb(84, 152, 30)
HSLhsl(93, 67%, 36%)
HSVhsv(93, 80%, 60%)
CMYKcmyk(44.7%, 0%, 80.3%, 40.4%)
CIE-LABlab(56.52, -41.67, 52.72)
CIE-LCHlch(56.52, 67.20, 128.33°)
OKLaboklab(61.13% -0.1167 0.1167)
OKLCHoklch(61.13% 0.165 135)
XYZxyz(15.1184, 24.4341, 5.1477)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54981E #621E98
analogous
#91981E #54981E #1E9825
triadic
#54981E #1E5498 #981E54
tetradic
#54981E #1E9198 #621E98 #98251E
square
#54981E #1E9198 #621E98 #98251E
split-complementary
#54981E #251E98 #981E91
monochromatic
#1C320A #386514 #54981E #70CB28 #90DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54981E#FFFFFF#000000##000000
##54981E1.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)
#95862C
Tritanopia (blue-blind)
#529282
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #54981e;
/* rgb */ color: rgb(84, 152, 30);
/* oklch */ color: oklch(61.1% 0.165 135.0);
Tailwind
colors: {
  custom: {
    50: '#8bb765',
    500: '#54981e',
    950: '#000000',
  },
}
SCSS
$custom: #54981e;
$custom-light: #8bb765;
$custom-dark: #000000;
JSON
{
  "hex": "#54981e",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 93.443,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61128,
    "c": 0.16505,
    "h": 135
  },
  "luminance": 0.24435
}

Semantic roles & 50–950 ramp

primary
#54981E
secondary
#8F51C0
accent
#3EEA9E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54981E

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

Preview Lab → · Contrast checker → · Palette generator →

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