#54A71B#54A71B

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

Color values

HEX#54A71B
RGBrgb(84, 167, 27)
HSLhsl(96, 72%, 38%)
HSVhsv(96, 84%, 65%)
CMYKcmyk(49.7%, 0%, 83.8%, 34.5%)
CIE-LABlab(61.31, -47.84, 57.96)
CIE-LCHlch(61.31, 75.15, 129.54°)
OKLaboklab(65.06% -0.1334 0.1273)
OKLCHoklch(65.06% 0.184 136.3)
XYZxyz(17.6722, 29.6002, 5.8189)
Luminance0.2960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A71B #6E1BA7
analogous
#9AA71B #54A71B #1BA728
triadic
#54A71B #1B54A7 #A71B54
tetradic
#54A71B #1B9AA7 #6E1BA7 #A7281B
square
#54A71B #1B9AA7 #6E1BA7 #A7281B
split-complementary
#54A71B #281BA7 #A71B9A
monochromatic
#1F3E0A #3A7212 #54A71B #6FDC24 #91E458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54A71B#FFFFFF#000000##000000
##54A71B1.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)
#A2912D
Tritanopia (blue-blind)
#50A18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #54a71b;
/* rgb */ color: rgb(84, 167, 27);
/* oklch */ color: oklch(65.1% 0.184 136.3);
Tailwind
colors: {
  custom: {
    50: '#8dc266',
    500: '#54a71b',
    950: '#000000',
  },
}
SCSS
$custom: #54a71b;
$custom-light: #8dc266;
$custom-dark: #000000;
JSON
{
  "hex": "#54a71b",
  "rgb": {
    "r": 84,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 95.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65059,
    "c": 0.18439,
    "h": 136.3
  },
  "luminance": 0.29601
}

Semantic roles & 50–950 ramp

primary
#54A71B
secondary
#9956C8
accent
#39EFA5
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A71B

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

Preview Lab → · Contrast checker → · Palette generator →

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