#54A81F#54A81F

#54A81F is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.3% C 0.184 H 136.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#54A81F
RGBrgb(84, 168, 31)
HSLhsl(97, 69%, 39%)
HSVhsv(97, 82%, 66%)
CMYKcmyk(50%, 0%, 81.5%, 34.1%)
CIE-LABlab(61.64, -48.04, 57.17)
CIE-LCHlch(61.64, 74.68, 130.04°)
OKLaboklab(65.34% -0.1337 0.1262)
OKLCHoklch(65.34% 0.184 136.7)
XYZxyz(17.9056, 29.9878, 6.1408)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A81F #731FA8
analogous
#99A81F #54A81F #1FA82E
triadic
#54A81F #1F54A8 #A81F54
tetradic
#54A81F #1F99A8 #731FA8 #A82E1F
square
#54A81F #1F99A8 #731FA8 #A82E1F
split-complementary
#54A81F #2E1FA8 #A81F99
monochromatic
#20410C #3A7415 #54A81F #6FD82C #92E260

Accessibility & contrast

On white

3.00
#54A81F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#54A81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54A81F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A81F#FFFFFF#000000##000000
##54A81F1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A39230
Tritanopia (blue-blind)
#4FA28F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #54a81f;
/* rgb */ color: rgb(84, 168, 31);
/* oklch */ color: oklch(65.3% 0.184 136.7);
Tailwind
colors: {
  custom: {
    50: '#8dc268',
    500: '#54a81f',
    950: '#000000',
  },
}
SCSS
$custom: #54a81f;
$custom-light: #8dc268;
$custom-dark: #000000;
JSON
{
  "hex": "#54a81f",
  "rgb": {
    "r": 84,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 96.788,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65341,
    "c": 0.18389,
    "h": 136.7
  },
  "luminance": 0.29989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54A81F

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

Preview Lab → · Contrast checker → · Palette generator →

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