#54A01B#54A01B

#54A01B 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#54A01B
RGBrgb(84, 160, 27)
HSLhsl(94, 71%, 37%)
HSVhsv(94, 83%, 63%)
CMYKcmyk(47.5%, 0%, 83.1%, 37.3%)
CIE-LABlab(59.07, -45.08, 55.94)
CIE-LCHlch(59.07, 71.85, 128.87°)
OKLaboklab(63.22% -0.126 0.1231)
OKLCHoklch(63.22% 0.176 135.7)
XYZxyz(16.4244, 27.1045, 5.4029)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A01B #671BA0
analogous
#97A01B #54A01B #1BA025
triadic
#54A01B #1B54A0 #A01B54
tetradic
#54A01B #1B97A0 #671BA0 #A0251B
square
#54A01B #1B97A0 #671BA0 #A0251B
split-complementary
#54A01B #251BA0 #A01B97
monochromatic
#1D3709 #396C12 #54A01B #6FD424 #91E253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54a01b;
/* rgb */ color: rgb(84, 160, 27);
/* oklch */ color: oklch(63.2% 0.176 135.7);
Tailwind
colors: {
  custom: {
    50: '#8cbd65',
    500: '#54a01b',
    950: '#000000',
  },
}
SCSS
$custom: #54a01b;
$custom-light: #8cbd65;
$custom-dark: #000000;
JSON
{
  "hex": "#54a01b",
  "rgb": {
    "r": 84,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 94.286,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.17612,
    "h": 135.7
  },
  "luminance": 0.27106
}

Semantic roles & 50–950 ramp

primary
#54A01B
secondary
#9452C5
accent
#3AEEA1
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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