#54AB1C#54AB1C

#54AB1C is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.1% C 0.189 H 136.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#54AB1C
RGBrgb(84, 171, 28)
HSLhsl(97, 72%, 39%)
HSVhsv(97, 84%, 67%)
CMYKcmyk(50.9%, 0%, 83.6%, 32.9%)
CIE-LABlab(62.59, -49.34, 58.84)
CIE-LCHlch(62.59, 76.79, 129.98°)
OKLaboklab(66.11% -0.1374 0.1293)
OKLCHoklch(66.11% 0.189 136.7)
XYZxyz(18.4281, 31.0931, 6.1289)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AB1C #731CAB
analogous
#9CAB1C #54AB1C #1CAB2B
triadic
#54AB1C #1C54AB #AB1C54
tetradic
#54AB1C #1C9CAB #731CAB #AB2B1C
square
#54AB1C #1C9CAB #731CAB #AB2B1C
split-complementary
#54AB1C #2B1CAB #AB1C9C
monochromatic
#20420B #3A7613 #54AB1C #6FDC28 #92E45D

Accessibility & contrast

On white

2.91
#54AB1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#54AB1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AB1C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AB1C#FFFFFF#000000##000000
##54AB1C1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#4FA592
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #54ab1c;
/* rgb */ color: rgb(84, 171, 28);
/* oklch */ color: oklch(66.1% 0.189 136.7);
Tailwind
colors: {
  custom: {
    50: '#8dc567',
    500: '#54ab1c',
    950: '#000000',
  },
}
SCSS
$custom: #54ab1c;
$custom-light: #8dc567;
$custom-dark: #000000;
JSON
{
  "hex": "#54ab1c",
  "rgb": {
    "r": 84,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 96.503,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66113,
    "c": 0.18866,
    "h": 136.7
  },
  "luminance": 0.31094
}

Semantic roles & 50–950 ramp

primary
#54AB1C
secondary
#9D5AC9
accent
#39EFA8
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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