#54B31E#54B31E

#54B31E 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#54B31E
RGBrgb(84, 179, 30)
HSLhsl(98, 71%, 41%)
HSVhsv(98, 83%, 70%)
CMYKcmyk(53.1%, 0%, 83.2%, 29.8%)
CIE-LABlab(65.13, -52.27, 60.62)
CIE-LCHlch(65.13, 80.05, 130.77°)
OKLaboklab(68.22% -0.1451 0.1333)
OKLCHoklch(68.22% 0.197 137.4)
XYZxyz(20.0099, 34.2172, 6.7782)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B31E #7D1EB3
analogous
#9EB31E #54B31E #1EB332
triadic
#54B31E #1E54B3 #B31E54
tetradic
#54B31E #1E9EB3 #7D1EB3 #B3321E
square
#54B31E #1E9EB3 #7D1EB3 #B3321E
split-complementary
#54B31E #321EB3 #B31E9E
monochromatic
#234A0C #3B7F15 #54B31E #70DD32 #94E566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54B31E#FFFFFF#000000##000000
##54B31E1.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: #54b31e;
/* rgb */ color: rgb(84, 179, 30);
/* oklch */ color: oklch(68.2% 0.197 137.4);
Tailwind
colors: {
  custom: {
    50: '#8eca69',
    500: '#54b31e',
    950: '#000000',
  },
}
SCSS
$custom: #54b31e;
$custom-light: #8eca69;
$custom-dark: #000000;
JSON
{
  "hex": "#54b31e",
  "rgb": {
    "r": 84,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 98.255,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68216,
    "c": 0.19707,
    "h": 137.4
  },
  "luminance": 0.34219
}

Semantic roles & 50–950 ramp

primary
#54B31E
secondary
#A562CB
accent
#3AEEAD
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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