#54B41F#54B41F

#54B41F is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.5% C 0.198 H 137.5°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#54B41F
RGBrgb(84, 180, 31)
HSLhsl(99, 71%, 41%)
HSVhsv(99, 83%, 71%)
CMYKcmyk(53.3%, 0%, 82.8%, 29.4%)
CIE-LABlab(65.46, -52.60, 60.65)
CIE-LCHlch(65.46, 80.28, 130.93°)
OKLaboklab(68.48% -0.1459 0.1335)
OKLCHoklch(68.48% 0.198 137.5)
XYZxyz(20.2241, 34.6247, 6.9136)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B41F #7F1FB4
analogous
#9FB41F #54B41F #1FB435
triadic
#54B41F #1F54B4 #B41F54
tetradic
#54B41F #1F9FB4 #7F1FB4 #B4351F
square
#54B41F #1F9FB4 #7F1FB4 #B4351F
split-complementary
#54B41F #351FB4 #B41F9F
monochromatic
#234C0D #3C8016 #54B41F #70DC34 #95E568

Accessibility & contrast

On white

2.65
#54B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#54B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B41F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B41F#FFFFFF#000000##000000
##54B41F1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#4DAD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #54b41f;
/* rgb */ color: rgb(84, 180, 31);
/* oklch */ color: oklch(68.5% 0.198 137.5);
Tailwind
colors: {
  custom: {
    50: '#8ecb69',
    500: '#54b41f',
    950: '#000000',
  },
}
SCSS
$custom: #54b41f;
$custom-light: #8ecb69;
$custom-dark: #000000;
JSON
{
  "hex": "#54b41f",
  "rgb": {
    "r": 84,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 98.658,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68482,
    "c": 0.19782,
    "h": 137.5
  },
  "luminance": 0.34626
}

Semantic roles & 50–950 ramp

primary
#54B41F
secondary
#A664CB
accent
#3AEDAE
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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