#54A01F#54A01F

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

Color values

HEX#54A01F
RGBrgb(84, 160, 31)
HSLhsl(95, 68%, 37%)
HSVhsv(95, 81%, 63%)
CMYKcmyk(47.5%, 0%, 80.6%, 37.3%)
CIE-LABlab(59.09, -44.88, 54.81)
CIE-LCHlch(59.09, 70.84, 129.32°)
OKLaboklab(63.24% -0.1252 0.1213)
OKLCHoklch(63.24% 0.174 135.9)
XYZxyz(16.4739, 27.1243, 5.6635)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A01F #6B1FA0
analogous
#94A01F #54A01F #1FA02B
triadic
#54A01F #1F54A0 #A01F54
tetradic
#54A01F #1F94A0 #6B1FA0 #A02B1F
square
#54A01F #1F94A0 #6B1FA0 #A02B1F
split-complementary
#54A01F #2B1FA0 #A01F94
monochromatic
#1E390B #396D15 #54A01F #6FD329 #91DF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54a01f;
/* rgb */ color: rgb(84, 160, 31);
/* oklch */ color: oklch(63.2% 0.174 135.9);
Tailwind
colors: {
  custom: {
    50: '#8cbd66',
    500: '#54a01f',
    950: '#000000',
  },
}
SCSS
$custom: #54a01f;
$custom-light: #8cbd66;
$custom-dark: #000000;
JSON
{
  "hex": "#54a01f",
  "rgb": {
    "r": 84,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 95.349,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6324,
    "c": 0.17434,
    "h": 135.9
  },
  "luminance": 0.27125
}

Semantic roles & 50–950 ramp

primary
#54A01F
secondary
#9758C3
accent
#3DEAA3
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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