#54A51F#54A51F

#54A51F is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.6% C 0.180 H 136.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#54A51F
RGBrgb(84, 165, 31)
HSLhsl(96, 68%, 38%)
HSVhsv(96, 81%, 65%)
CMYKcmyk(49.1%, 0%, 81.2%, 35.3%)
CIE-LABlab(60.69, -46.87, 56.29)
CIE-LCHlch(60.69, 73.25, 129.78°)
OKLaboklab(64.55% -0.1306 0.1244)
OKLCHoklch(64.55% 0.18 136.4)
XYZxyz(17.3581, 28.8928, 5.9583)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A51F #701FA5
analogous
#97A51F #54A51F #1FA52D
triadic
#54A51F #1F54A5 #A51F54
tetradic
#54A51F #1F97A5 #701FA5 #A52D1F
square
#54A51F #1F97A5 #701FA5 #A52D1F
split-complementary
#54A51F #2D1FA5 #A51F97
monochromatic
#203E0C #3A7115 #54A51F #6FD72A #92E15E

Accessibility & contrast

On white

3.10
#54A51F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#54A51F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A51F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A51F#FFFFFF#000000##000000
##54A51F1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#509F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #54a51f;
/* rgb */ color: rgb(84, 165, 31);
/* oklch */ color: oklch(64.6% 0.180 136.4);
Tailwind
colors: {
  custom: {
    50: '#8cc067',
    500: '#54a51f',
    950: '#000000',
  },
}
SCSS
$custom: #54a51f;
$custom-light: #8cc067;
$custom-dark: #000000;
JSON
{
  "hex": "#54a51f",
  "rgb": {
    "r": 84,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 96.269,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64554,
    "c": 0.18034,
    "h": 136.4
  },
  "luminance": 0.28894
}

Semantic roles & 50–950 ramp

primary
#54A51F
secondary
#9B5BC5
accent
#3DEBA6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A51F

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

Preview Lab → · Contrast checker → · Palette generator →

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