#54A11B#54A11B

#54A11B is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.5% C 0.177 H 135.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#54A11B
RGBrgb(84, 161, 27)
HSLhsl(94, 71%, 37%)
HSVhsv(94, 83%, 63%)
CMYKcmyk(47.8%, 0%, 83.2%, 36.9%)
CIE-LABlab(59.39, -45.48, 56.23)
CIE-LCHlch(59.39, 72.32, 128.97°)
OKLaboklab(63.48% -0.1271 0.1237)
OKLCHoklch(63.48% 0.177 135.8)
XYZxyz(16.5984, 27.4526, 5.4610)
Luminance0.2745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A11B #681BA1
analogous
#97A11B #54A11B #1BA125
triadic
#54A11B #1B54A1 #A11B54
tetradic
#54A11B #1B97A1 #681BA1 #A1251B
square
#54A11B #1B97A1 #681BA1 #A1251B
split-complementary
#54A11B #251BA1 #A11B97
monochromatic
#1D3809 #396D12 #54A11B #6FD524 #91E254

Accessibility & contrast

On white

3.24
#54A11B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#54A11B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A11B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A11B#FFFFFF#000000##000000
##54A11B1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#519B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #54a11b;
/* rgb */ color: rgb(84, 161, 27);
/* oklch */ color: oklch(63.5% 0.177 135.8);
Tailwind
colors: {
  custom: {
    50: '#8cbd65',
    500: '#54a11b',
    950: '#000000',
  },
}
SCSS
$custom: #54a11b;
$custom-light: #8cbd65;
$custom-dark: #000000;
JSON
{
  "hex": "#54a11b",
  "rgb": {
    "r": 84,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 94.478,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63482,
    "c": 0.17732,
    "h": 135.8
  },
  "luminance": 0.27454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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