#54901D#54901D

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

Color values

HEX#54901D
RGBrgb(84, 144, 29)
HSLhsl(91, 66%, 34%)
HSVhsv(91, 80%, 56%)
CMYKcmyk(41.7%, 0%, 79.9%, 43.5%)
CIE-LABlab(53.94, -38.35, 50.61)
CIE-LCHlch(53.94, 63.50, 127.15°)
OKLaboklab(59.01% -0.1078 0.1122)
OKLCHoklch(59.01% 0.156 133.9)
XYZxyz(13.8509, 21.9193, 4.6632)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54901D #591D90
analogous
#8E901D #54901D #1D901F
triadic
#54901D #1D5490 #901D54
tetradic
#54901D #1D8E90 #591D90 #901F1D
square
#54901D #1D8E90 #591D90 #901F1D
split-complementary
#54901D #1F1D90 #901D8E
monochromatic
#192A08 #365D13 #54901D #72C327 #91DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54901D#FFFFFF#000000##000000
##54901D1.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)
#8E7F2A
Tritanopia (blue-blind)
#548A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #54901d;
/* rgb */ color: rgb(84, 144, 29);
/* oklch */ color: oklch(59.0% 0.156 133.9);
Tailwind
colors: {
  custom: {
    50: '#8ab163',
    500: '#54901d',
    950: '#000000',
  },
}
SCSS
$custom: #54901d;
$custom-light: #8ab163;
$custom-dark: #000000;
JSON
{
  "hex": "#54901d",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 91.304,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59013,
    "c": 0.15559,
    "h": 133.9
  },
  "luminance": 0.2192
}

Semantic roles & 50–950 ramp

primary
#54901D
secondary
#874BBD
accent
#3EE998
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54901D

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

Preview Lab → · Contrast checker → · Palette generator →

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