#54B317#54B317

#54B317 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#54B317
RGBrgb(84, 179, 23)
HSLhsl(97, 77%, 40%)
HSVhsv(97, 87%, 70%)
CMYKcmyk(53.1%, 0%, 87.2%, 29.8%)
CIE-LABlab(65.11, -52.56, 62.25)
CIE-LCHlch(65.11, 81.47, 130.18°)
OKLaboklab(68.19% -0.1462 0.1358)
OKLCHoklch(68.19% 0.2 137.1)
XYZxyz(19.9303, 34.1853, 6.3586)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B317 #7617B3
analogous
#A2B317 #54B317 #17B328
triadic
#54B317 #1754B3 #B31754
tetradic
#54B317 #17A2B3 #7617B3 #B32817
square
#54B317 #17A2B3 #7617B3 #B32817
split-complementary
#54B317 #2817B3 #B317A2
monochromatic
#214709 #3B7D10 #54B317 #6FE324 #93EA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54B317#FFFFFF#000000##000000
##54B3171.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)
#4DAC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #54b317;
/* rgb */ color: rgb(84, 179, 23);
/* oklch */ color: oklch(68.2% 0.200 137.1);
Tailwind
colors: {
  custom: {
    50: '#8eca66',
    500: '#54b317',
    950: '#000000',
  },
}
SCSS
$custom: #54b317;
$custom-light: #8eca66;
$custom-dark: #000000;
JSON
{
  "hex": "#54b317",
  "rgb": {
    "r": 84,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 96.538,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68187,
    "c": 0.19956,
    "h": 137.1
  },
  "luminance": 0.34187
}

Semantic roles & 50–950 ramp

primary
#54B317
secondary
#A058CD
accent
#34F4A9
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B317

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

Preview Lab → · Contrast checker → · Palette generator →

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