#54B31D#54B31D

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

Color values

HEX#54B31D
RGBrgb(84, 179, 29)
HSLhsl(98, 72%, 41%)
HSVhsv(98, 84%, 70%)
CMYKcmyk(53.1%, 0%, 83.8%, 29.8%)
CIE-LABlab(65.13, -52.32, 60.87)
CIE-LCHlch(65.13, 80.27, 130.68°)
OKLaboklab(68.21% -0.1453 0.1337)
OKLCHoklch(68.21% 0.197 137.4)
XYZxyz(19.9974, 34.2122, 6.7120)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B31D #7C1DB3
analogous
#9FB31D #54B31D #1DB331
triadic
#54B31D #1D54B3 #B31D54
tetradic
#54B31D #1D9FB3 #7C1DB3 #B3311D
square
#54B31D #1D9FB3 #7C1DB3 #B3311D
split-complementary
#54B31D #311DB3 #B31D9F
monochromatic
#234A0C #3B7E14 #54B31D #6FDD30 #94E664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54b31d;
/* rgb */ color: rgb(84, 179, 29);
/* oklch */ color: oklch(68.2% 0.197 137.4);
Tailwind
colors: {
  custom: {
    50: '#8eca68',
    500: '#54b31d',
    950: '#000000',
  },
}
SCSS
$custom: #54b31d;
$custom-light: #8eca68;
$custom-dark: #000000;
JSON
{
  "hex": "#54b31d",
  "rgb": {
    "r": 84,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 98,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68211,
    "c": 0.19746,
    "h": 137.4
  },
  "luminance": 0.34214
}

Semantic roles & 50–950 ramp

primary
#54B31D
secondary
#A461CB
accent
#39EFAC
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B31D

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

Preview Lab → · Contrast checker → · Palette generator →

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