#54A51E#54A51E

#54A51E is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.5% C 0.181 H 136.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#54A51E
RGBrgb(84, 165, 30)
HSLhsl(96, 69%, 38%)
HSVhsv(96, 82%, 65%)
CMYKcmyk(49.1%, 0%, 81.8%, 35.3%)
CIE-LABlab(60.68, -46.92, 56.57)
CIE-LCHlch(60.68, 73.50, 129.67°)
OKLaboklab(64.55% -0.1308 0.1248)
OKLCHoklch(64.55% 0.181 136.3)
XYZxyz(17.3452, 28.8876, 5.8899)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A51E #6F1EA5
analogous
#97A51E #54A51E #1EA52B
triadic
#54A51E #1E54A5 #A51E54
tetradic
#54A51E #1E97A5 #6F1EA5 #A52B1E
square
#54A51E #1E97A5 #6F1EA5 #A52B1E
split-complementary
#54A51E #2B1EA5 #A51E97
monochromatic
#1F3D0B #3A7115 #54A51E #6FD828 #91E15C

Accessibility & contrast

On white

3.10
#54A51E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#54A51E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A51E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A51E#FFFFFF#000000##000000
##54A51E1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#509F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #54a51e;
/* rgb */ color: rgb(84, 165, 30);
/* oklch */ color: oklch(64.5% 0.181 136.3);
Tailwind
colors: {
  custom: {
    50: '#8cc067',
    500: '#54a51e',
    950: '#000000',
  },
}
SCSS
$custom: #54a51e;
$custom-light: #8cc067;
$custom-dark: #000000;
JSON
{
  "hex": "#54a51e",
  "rgb": {
    "r": 84,
    "g": 165,
    "b": 30
  },
  "hsl": {
    "h": 96,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64549,
    "c": 0.18079,
    "h": 136.3
  },
  "luminance": 0.28889
}

Semantic roles & 50–950 ramp

primary
#54A51E
secondary
#9A59C5
accent
#3CECA6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A51E

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

Preview Lab → · Contrast checker → · Palette generator →

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