#54A91F#54A91F

#54A91F is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.6% C 0.185 H 136.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#54A91F
RGBrgb(84, 169, 31)
HSLhsl(97, 69%, 39%)
HSVhsv(97, 82%, 66%)
CMYKcmyk(50.3%, 0%, 81.7%, 33.7%)
CIE-LABlab(61.96, -48.43, 57.46)
CIE-LCHlch(61.96, 75.15, 130.12°)
OKLaboklab(65.6% -0.1348 0.1269)
OKLCHoklch(65.6% 0.185 136.7)
XYZxyz(18.0909, 30.3584, 6.2025)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A91F #741FA9
analogous
#99A91F #54A91F #1FA92F
triadic
#54A91F #1F54A9 #A91F54
tetradic
#54A91F #1F99A9 #741FA9 #A92F1F
square
#54A91F #1F99A9 #741FA9 #A92F1F
split-complementary
#54A91F #2F1FA9 #A91F99
monochromatic
#21420C #3A7516 #54A91F #6FD82D #92E260

Accessibility & contrast

On white

2.97
#54A91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#54A91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54A91F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A91F#FFFFFF#000000##000000
##54A91F1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#4FA390
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #54a91f;
/* rgb */ color: rgb(84, 169, 31);
/* oklch */ color: oklch(65.6% 0.185 136.7);
Tailwind
colors: {
  custom: {
    50: '#8dc368',
    500: '#54a91f',
    950: '#000000',
  },
}
SCSS
$custom: #54a91f;
$custom-light: #8dc368;
$custom-dark: #000000;
JSON
{
  "hex": "#54a91f",
  "rgb": {
    "r": 84,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 96.957,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65603,
    "c": 0.18507,
    "h": 136.7
  },
  "luminance": 0.3036
}

Semantic roles & 50–950 ramp

primary
#54A91F
secondary
#9E5DC7
accent
#3CECA8
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A91F

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

Preview Lab → · Contrast checker → · Palette generator →

#54A91F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva