#54A71C#54A71C

#54A71C is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.1% C 0.184 H 136.4°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#54A71C
RGBrgb(84, 167, 28)
HSLhsl(96, 71%, 38%)
HSVhsv(96, 83%, 65%)
CMYKcmyk(49.7%, 0%, 83.2%, 34.5%)
CIE-LABlab(61.31, -47.80, 57.70)
CIE-LCHlch(61.31, 74.92, 129.64°)
OKLaboklab(65.06% -0.1332 0.1269)
OKLCHoklch(65.06% 0.184 136.4)
XYZxyz(17.6840, 29.6049, 5.8809)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A71C #6F1CA7
analogous
#99A71C #54A71C #1CA729
triadic
#54A71C #1C54A7 #A71C54
tetradic
#54A71C #1C99A7 #6F1CA7 #A7291C
square
#54A71C #1C99A7 #6F1CA7 #A7291C
split-complementary
#54A71C #291CA7 #A71C99
monochromatic
#1F3E0A #3A7313 #54A71C #6FDB26 #91E35A

Accessibility & contrast

On white

3.03
#54A71C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#54A71C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A71C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A71C#FFFFFF#000000##000000
##54A71C1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#50A18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #54a71c;
/* rgb */ color: rgb(84, 167, 28);
/* oklch */ color: oklch(65.1% 0.184 136.4);
Tailwind
colors: {
  custom: {
    50: '#8dc266',
    500: '#54a71c',
    950: '#000000',
  },
}
SCSS
$custom: #54a71c;
$custom-light: #8dc266;
$custom-dark: #000000;
JSON
{
  "hex": "#54a71c",
  "rgb": {
    "r": 84,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 95.827,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65064,
    "c": 0.18399,
    "h": 136.4
  },
  "luminance": 0.29606
}

Semantic roles & 50–950 ramp

primary
#54A71C
secondary
#9A58C7
accent
#3AEEA5
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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