#54901B#54901B

#54901B 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#54901B
RGBrgb(84, 144, 27)
HSLhsl(91, 68%, 34%)
HSVhsv(91, 81%, 56%)
CMYKcmyk(41.7%, 0%, 81.3%, 43.5%)
CIE-LABlab(53.93, -38.46, 51.23)
CIE-LCHlch(53.93, 64.06, 126.90°)
OKLaboklab(59% -0.1082 0.1132)
OKLCHoklch(59% 0.157 133.7)
XYZxyz(13.8270, 21.9098, 4.5371)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54901B #571B90
analogous
#8E901B #54901B #1B901C
triadic
#54901B #1B5490 #901B54
tetradic
#54901B #1B8E90 #571B90 #901C1B
square
#54901B #1B8E90 #571B90 #901C1B
split-complementary
#54901B #1C1B90 #901B8E
monochromatic
#182908 #365C11 #54901B #72C425 #91DD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54901B#FFFFFF#000000##000000
##54901B1.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: #54901b;
/* rgb */ color: rgb(84, 144, 27);
/* oklch */ color: oklch(59.0% 0.157 133.7);
Tailwind
colors: {
  custom: {
    50: '#8ab162',
    500: '#54901b',
    950: '#000000',
  },
}
SCSS
$custom: #54901b;
$custom-light: #8ab162;
$custom-dark: #000000;
JSON
{
  "hex": "#54901b",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 90.769,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59001,
    "c": 0.15659,
    "h": 133.7
  },
  "luminance": 0.2191
}

Semantic roles & 50–950 ramp

primary
#54901B
secondary
#8548BF
accent
#3DEB96
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54901B

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

Preview Lab → · Contrast checker → · Palette generator →

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