#54901A#54901A

#54901A is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.0% C 0.157 H 133.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#54901A
RGBrgb(84, 144, 26)
HSLhsl(91, 69%, 33%)
HSVhsv(91, 82%, 56%)
CMYKcmyk(41.7%, 0%, 81.9%, 43.5%)
CIE-LABlab(53.93, -38.51, 51.53)
CIE-LCHlch(53.93, 64.33, 126.77°)
OKLaboklab(59% -0.1084 0.1136)
OKLCHoklch(59% 0.157 133.7)
XYZxyz(13.8156, 21.9052, 4.4772)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54901A #561A90
analogous
#8F901A #54901A #1A901B
triadic
#54901A #1A5490 #901A54
tetradic
#54901A #1A8F90 #561A90 #901B1A
square
#54901A #1A8F90 #561A90 #901B1A
split-complementary
#54901A #1B1A90 #901A8F
monochromatic
#182807 #365C11 #54901A #72C423 #91DE47

Accessibility & contrast

On white

3.90
#54901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#54901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54901A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54901A#FFFFFF#000000##000000
##54901A1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#548A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #54901a;
/* rgb */ color: rgb(84, 144, 26);
/* oklch */ color: oklch(59.0% 0.157 133.7);
Tailwind
colors: {
  custom: {
    50: '#8ab162',
    500: '#54901a',
    950: '#000000',
  },
}
SCSS
$custom: #54901a;
$custom-light: #8ab162;
$custom-dark: #000000;
JSON
{
  "hex": "#54901a",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 90.508,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.15707,
    "h": 133.7
  },
  "luminance": 0.21906
}

Semantic roles & 50–950 ramp

primary
#54901A
secondary
#8447BF
accent
#3CEC95
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54901A

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

Preview Lab → · Contrast checker → · Palette generator →

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