#54901F#54901F

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

Color values

HEX#54901F
RGBrgb(84, 144, 31)
HSLhsl(92, 65%, 34%)
HSVhsv(92, 78%, 56%)
CMYKcmyk(41.7%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.95, -38.24, 49.97)
CIE-LCHlch(53.95, 62.92, 127.43°)
OKLaboklab(59.03% -0.1074 0.1111)
OKLCHoklch(59.03% 0.155 134)
XYZxyz(13.8765, 21.9295, 4.7977)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54901F #5B1F90
analogous
#8D901F #54901F #1F9022
triadic
#54901F #1F5490 #901F54
tetradic
#54901F #1F8D90 #5B1F90 #90221F
square
#54901F #1F8D90 #5B1F90 #90221F
split-complementary
#54901F #221F90 #901F8D
monochromatic
#192B09 #375E14 #54901F #71C22A #90D950

Accessibility & contrast

On white

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

On black

5.39
#54901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54901F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54901F#FFFFFF#000000##000000
##54901F1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#538A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #54901f;
/* rgb */ color: rgb(84, 144, 31);
/* oklch */ color: oklch(59.0% 0.155 134.0);
Tailwind
colors: {
  custom: {
    50: '#8ab164',
    500: '#54901f',
    950: '#000000',
  },
}
SCSS
$custom: #54901f;
$custom-light: #8ab164;
$custom-dark: #000000;
JSON
{
  "hex": "#54901f",
  "rgb": {
    "r": 84,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 91.858,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59025,
    "c": 0.15453,
    "h": 134
  },
  "luminance": 0.2193
}

Semantic roles & 50–950 ramp

primary
#54901F
secondary
#894EBC
accent
#40E899
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54901F

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

Preview Lab → · Contrast checker → · Palette generator →

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