#54B417#54B417

#54B417 is a light, highly saturated yellow-green. Relative luminance 0.346; OKLCH L 68.4% C 0.201 H 137.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#54B417
RGBrgb(84, 180, 23)
HSLhsl(97, 77%, 40%)
HSVhsv(97, 87%, 71%)
CMYKcmyk(53.3%, 0%, 87.2%, 29.4%)
CIE-LABlab(65.43, -52.93, 62.52)
CIE-LCHlch(65.43, 81.92, 130.25°)
OKLaboklab(68.45% -0.1472 0.1364)
OKLCHoklch(68.45% 0.201 137.2)
XYZxyz(20.1314, 34.5876, 6.4257)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B417 #7717B4
analogous
#A3B417 #54B417 #17B429
triadic
#54B417 #1754B4 #B41754
tetradic
#54B417 #17A3B4 #7717B4 #B42917
square
#54B417 #17A3B4 #7717B4 #B42917
split-complementary
#54B417 #2917B4 #B417A3
monochromatic
#214709 #3B7E10 #54B417 #6FE325 #93EA5B

Accessibility & contrast

On white

2.65
#54B417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#54B417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B417
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B417#FFFFFF#000000##000000
##54B4171.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#4DAD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #54b417;
/* rgb */ color: rgb(84, 180, 23);
/* oklch */ color: oklch(68.4% 0.201 137.2);
Tailwind
colors: {
  custom: {
    50: '#8fcb67',
    500: '#54b417',
    950: '#000000',
  },
}
SCSS
$custom: #54b417;
$custom-light: #8fcb67;
$custom-dark: #000000;
JSON
{
  "hex": "#54b417",
  "rgb": {
    "r": 84,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 96.688,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68449,
    "c": 0.20068,
    "h": 137.2
  },
  "luminance": 0.34589
}

Semantic roles & 50–950 ramp

primary
#54B417
secondary
#A059CE
accent
#34F4A9
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B417

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

Preview Lab → · Contrast checker → · Palette generator →

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