#54A01C#54A01C

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

Color values

HEX#54A01C
RGBrgb(84, 160, 28)
HSLhsl(95, 70%, 37%)
HSVhsv(95, 83%, 63%)
CMYKcmyk(47.5%, 0%, 82.5%, 37.3%)
CIE-LABlab(59.08, -45.04, 55.67)
CIE-LCHlch(59.08, 71.60, 128.97°)
OKLaboklab(63.22% -0.1258 0.1226)
OKLCHoklch(63.22% 0.176 135.7)
XYZxyz(16.4362, 27.1092, 5.4649)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A01C #681CA0
analogous
#96A01C #54A01C #1CA026
triadic
#54A01C #1C54A0 #A01C54
tetradic
#54A01C #1C96A0 #681CA0 #A0261C
square
#54A01C #1C96A0 #681CA0 #A0261C
split-complementary
#54A01C #261CA0 #A01C96
monochromatic
#1D380A #396C13 #54A01C #6FD425 #91E155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54A01C#FFFFFF#000000##000000
##54A01C1.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)
#9C8C2C
Tritanopia (blue-blind)
#519A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #54a01c;
/* rgb */ color: rgb(84, 160, 28);
/* oklch */ color: oklch(63.2% 0.176 135.7);
Tailwind
colors: {
  custom: {
    50: '#8cbd65',
    500: '#54a01c',
    950: '#000000',
  },
}
SCSS
$custom: #54a01c;
$custom-light: #8cbd65;
$custom-dark: #000000;
JSON
{
  "hex": "#54a01c",
  "rgb": {
    "r": 84,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 94.545,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63224,
    "c": 0.1757,
    "h": 135.7
  },
  "luminance": 0.2711
}

Semantic roles & 50–950 ramp

primary
#54A01C
secondary
#9453C4
accent
#3BEDA1
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A01C

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

Preview Lab → · Contrast checker → · Palette generator →

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