#54A015#54A015

#54A015 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.2% C 0.178 H 135.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#54A015
RGBrgb(84, 160, 21)
HSLhsl(93, 77%, 35%)
HSVhsv(93, 87%, 63%)
CMYKcmyk(47.5%, 0%, 86.9%, 37.3%)
CIE-LABlab(59.05, -45.34, 57.42)
CIE-LCHlch(59.05, 73.16, 128.29°)
OKLaboklab(63.19% -0.127 0.1253)
OKLCHoklch(63.19% 0.178 135.4)
XYZxyz(16.3619, 27.0795, 5.0740)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A015 #6115A0
analogous
#99A015 #54A015 #15A01C
triadic
#54A015 #1554A0 #A01554
tetradic
#54A015 #1599A0 #6115A0 #A01C15
square
#54A015 #1599A0 #6115A0 #A01C15
split-complementary
#54A015 #1C15A0 #A01599
monochromatic
#1B3407 #386A0E #54A015 #70D61C #90E748

Accessibility & contrast

On white

3.27
#54A015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#54A015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A015
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A015#FFFFFF#000000##000000
##54A0151.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#519A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #54a015;
/* rgb */ color: rgb(84, 160, 21);
/* oklch */ color: oklch(63.2% 0.178 135.4);
Tailwind
colors: {
  custom: {
    50: '#8cbd63',
    500: '#54a015',
    950: '#000000',
  },
}
SCSS
$custom: #54a015;
$custom-light: #8cbd63;
$custom-dark: #000000;
JSON
{
  "hex": "#54a015",
  "rgb": {
    "r": 84,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 92.806,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63193,
    "c": 0.17842,
    "h": 135.4
  },
  "luminance": 0.27081
}

Semantic roles & 50–950 ramp

primary
#54A015
secondary
#8E49C8
accent
#34F39D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A015

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

Preview Lab → · Contrast checker → · Palette generator →

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