#54A71F#54A71F

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

Color values

HEX#54A71F
RGBrgb(84, 167, 31)
HSLhsl(97, 69%, 39%)
HSVhsv(97, 81%, 65%)
CMYKcmyk(49.7%, 0%, 81.4%, 34.5%)
CIE-LABlab(61.32, -47.65, 56.88)
CIE-LCHlch(61.32, 74.20, 129.96°)
OKLaboklab(65.08% -0.1327 0.1256)
OKLCHoklch(65.08% 0.183 136.6)
XYZxyz(17.7217, 29.6199, 6.0795)
Luminance0.2962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A71F #721FA7
analogous
#98A71F #54A71F #1FA72E
triadic
#54A71F #1F54A7 #A71F54
tetradic
#54A71F #1F98A7 #721FA7 #A72E1F
square
#54A71F #1F98A7 #721FA7 #A72E1F
split-complementary
#54A71F #2E1FA7 #A71F98
monochromatic
#20400C #3A7315 #54A71F #6FD82B #92E15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54a71f;
/* rgb */ color: rgb(84, 167, 31);
/* oklch */ color: oklch(65.1% 0.183 136.6);
Tailwind
colors: {
  custom: {
    50: '#8cc267',
    500: '#54a71f',
    950: '#000000',
  },
}
SCSS
$custom: #54a71f;
$custom-light: #8cc267;
$custom-dark: #000000;
JSON
{
  "hex": "#54a71f",
  "rgb": {
    "r": 84,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 96.618,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65079,
    "c": 0.18271,
    "h": 136.6
  },
  "luminance": 0.29621
}

Semantic roles & 50–950 ramp

primary
#54A71F
secondary
#9D5CC6
accent
#3CECA7
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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