#54901C#54901C

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

Color values

HEX#54901C
RGBrgb(84, 144, 28)
HSLhsl(91, 67%, 34%)
HSVhsv(91, 81%, 56%)
CMYKcmyk(41.7%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.94, -38.41, 50.93)
CIE-LCHlch(53.94, 63.79, 127.02°)
OKLaboklab(59.01% -0.108 0.1127)
OKLCHoklch(59.01% 0.156 133.8)
XYZxyz(13.8388, 21.9145, 4.5991)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54901C #581C90
analogous
#8E901C #54901C #1C901E
triadic
#54901C #1C5490 #901C54
tetradic
#54901C #1C8E90 #581C90 #901E1C
square
#54901C #1C8E90 #581C90 #901E1C
split-complementary
#54901C #1E1C90 #901C8E
monochromatic
#182A08 #365D12 #54901C #72C326 #91DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54901c;
/* rgb */ color: rgb(84, 144, 28);
/* oklch */ color: oklch(59.0% 0.156 133.8);
Tailwind
colors: {
  custom: {
    50: '#8ab163',
    500: '#54901c',
    950: '#000000',
  },
}
SCSS
$custom: #54901c;
$custom-light: #8ab163;
$custom-dark: #000000;
JSON
{
  "hex": "#54901c",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 91.034,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59007,
    "c": 0.15609,
    "h": 133.8
  },
  "luminance": 0.21915
}

Semantic roles & 50–950 ramp

primary
#54901C
secondary
#864ABE
accent
#3DEA97
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54901C

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

Preview Lab → · Contrast checker → · Palette generator →

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