#54A41B#54A41B

#54A41B is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.3% C 0.181 H 136.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#54A41B
RGBrgb(84, 164, 27)
HSLhsl(95, 72%, 37%)
HSVhsv(95, 84%, 64%)
CMYKcmyk(48.8%, 0%, 83.5%, 35.7%)
CIE-LABlab(60.35, -46.67, 57.09)
CIE-LCHlch(60.35, 73.74, 129.26°)
OKLaboklab(64.27% -0.1303 0.1255)
OKLCHoklch(64.27% 0.181 136.1)
XYZxyz(17.1290, 28.5137, 5.6378)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A41B #6B1BA4
analogous
#99A41B #54A41B #1BA426
triadic
#54A41B #1B54A4 #A41B54
tetradic
#54A41B #1B99A4 #6B1BA4 #A4261B
square
#54A41B #1B99A4 #6B1BA4 #A4261B
split-complementary
#54A41B #261BA4 #A41B99
monochromatic
#1E3B0A #396F12 #54A41B #6FD924 #91E356

Accessibility & contrast

On white

3.13
#54A41B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#54A41B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A41B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A41B#FFFFFF#000000##000000
##54A41B1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#509E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #54a41b;
/* rgb */ color: rgb(84, 164, 27);
/* oklch */ color: oklch(64.3% 0.181 136.1);
Tailwind
colors: {
  custom: {
    50: '#8cc065',
    500: '#54a41b',
    950: '#000000',
  },
}
SCSS
$custom: #54a41b;
$custom-light: #8cc065;
$custom-dark: #000000;
JSON
{
  "hex": "#54a41b",
  "rgb": {
    "r": 84,
    "g": 164,
    "b": 27
  },
  "hsl": {
    "h": 95.036,
    "s": 71.728,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64271,
    "c": 0.18087,
    "h": 136.1
  },
  "luminance": 0.28515
}

Semantic roles & 50–950 ramp

primary
#54A41B
secondary
#9754C6
accent
#39EEA3
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A41B

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

Preview Lab → · Contrast checker → · Palette generator →

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