#54B318#54B318

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

Color values

HEX#54B318
RGBrgb(84, 179, 24)
HSLhsl(97, 76%, 40%)
HSVhsv(97, 87%, 70%)
CMYKcmyk(53.1%, 0%, 86.6%, 29.8%)
CIE-LABlab(65.11, -52.52, 62.04)
CIE-LCHlch(65.11, 81.29, 130.25°)
OKLaboklab(68.19% -0.1461 0.1355)
OKLCHoklch(68.19% 0.199 137.1)
XYZxyz(19.9405, 34.1894, 6.4124)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B318 #7718B3
analogous
#A2B318 #54B318 #18B329
triadic
#54B318 #1854B3 #B31854
tetradic
#54B318 #18A2B3 #7718B3 #B32918
square
#54B318 #18A2B3 #7718B3 #B32918
split-complementary
#54B318 #2918B3 #B318A2
monochromatic
#21470A #3B7D11 #54B318 #6FE226 #93E95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54B318#FFFFFF#000000##000000
##54B3181.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)
#AD9B2E
Tritanopia (blue-blind)
#4DAC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #54b318;
/* rgb */ color: rgb(84, 179, 24);
/* oklch */ color: oklch(68.2% 0.199 137.1);
Tailwind
colors: {
  custom: {
    50: '#8eca67',
    500: '#54b318',
    950: '#000000',
  },
}
SCSS
$custom: #54b318;
$custom-light: #8eca67;
$custom-dark: #000000;
JSON
{
  "hex": "#54b318",
  "rgb": {
    "r": 84,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 96.774,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68191,
    "c": 0.19923,
    "h": 137.1
  },
  "luminance": 0.34191
}

Semantic roles & 50–950 ramp

primary
#54B318
secondary
#A05ACD
accent
#35F3A9
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B318

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

Preview Lab → · Contrast checker → · Palette generator →

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