#54981F#54981F

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

Color values

HEX#54981F
RGBrgb(84, 152, 31)
HSLhsl(94, 66%, 36%)
HSVhsv(94, 80%, 60%)
CMYKcmyk(44.7%, 0%, 79.6%, 40.4%)
CIE-LABlab(56.52, -41.62, 52.41)
CIE-LCHlch(56.52, 66.92, 128.46°)
OKLaboklab(61.13% -0.1165 0.1162)
OKLCHoklch(61.13% 0.165 135.1)
XYZxyz(15.1314, 24.4393, 5.2160)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54981F #631F98
analogous
#90981F #54981F #1F9826
triadic
#54981F #1F5498 #981F54
tetradic
#54981F #1F9098 #631F98 #98261F
square
#54981F #1F9098 #631F98 #98261F
split-complementary
#54981F #261F98 #981F90
monochromatic
#1C320A #386515 #54981F #70CB29 #90DC55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54981F#FFFFFF#000000##000000
##54981F1.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: #54981f;
/* rgb */ color: rgb(84, 152, 31);
/* oklch */ color: oklch(61.1% 0.165 135.1);
Tailwind
colors: {
  custom: {
    50: '#8bb765',
    500: '#54981f',
    950: '#000000',
  },
}
SCSS
$custom: #54981f;
$custom-light: #8bb765;
$custom-dark: #000000;
JSON
{
  "hex": "#54981f",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 93.719,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61134,
    "c": 0.16456,
    "h": 135.1
  },
  "luminance": 0.2444
}

Semantic roles & 50–950 ramp

primary
#54981F
secondary
#9053C0
accent
#3FE99E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54981F

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

Preview Lab → · Contrast checker → · Palette generator →

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