#54B316#54B316

#54B316 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.2% C 0.200 H 137.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#54B316
RGBrgb(84, 179, 22)
HSLhsl(96, 78%, 39%)
HSVhsv(96, 88%, 70%)
CMYKcmyk(53.1%, 0%, 87.7%, 29.8%)
CIE-LABlab(65.11, -52.60, 62.45)
CIE-LCHlch(65.11, 81.65, 130.10°)
OKLaboklab(68.18% -0.1463 0.1362)
OKLCHoklch(68.18% 0.2 137.1)
XYZxyz(19.9204, 34.1814, 6.3069)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B316 #7516B3
analogous
#A2B316 #54B316 #16B327
triadic
#54B316 #1654B3 #B31654
tetradic
#54B316 #16A2B3 #7516B3 #B32716
square
#54B316 #16A2B3 #7516B3 #B32716
split-complementary
#54B316 #2716B3 #B316A2
monochromatic
#214609 #3A7C0F #54B316 #6FE422 #92EB59

Accessibility & contrast

On white

2.68
#54B316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#54B316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B316
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B316#FFFFFF#000000##000000
##54B3161.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#4EAC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #54b316;
/* rgb */ color: rgb(84, 179, 22);
/* oklch */ color: oklch(68.2% 0.200 137.1);
Tailwind
colors: {
  custom: {
    50: '#8eca66',
    500: '#54b316',
    950: '#000000',
  },
}
SCSS
$custom: #54b316;
$custom-light: #8eca66;
$custom-dark: #000000;
JSON
{
  "hex": "#54b316",
  "rgb": {
    "r": 84,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 96.306,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68184,
    "c": 0.19987,
    "h": 137.1
  },
  "luminance": 0.34183
}

Semantic roles & 50–950 ramp

primary
#54B316
secondary
#9F57CE
accent
#33F5A8
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B316

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

Preview Lab → · Contrast checker → · Palette generator →

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