#54AF26#54AF26

#54AF26 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.2% C 0.189 H 137.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#54AF26
RGBrgb(84, 175, 38)
HSLhsl(100, 64%, 42%)
HSVhsv(100, 78%, 69%)
CMYKcmyk(52%, 0%, 78.3%, 31.4%)
CIE-LABlab(63.90, -50.35, 57.18)
CIE-LCHlch(63.90, 76.19, 131.37°)
OKLaboklab(67.21% -0.1395 0.1273)
OKLCHoklch(67.21% 0.189 137.6)
XYZxyz(19.3353, 32.6833, 7.1230)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AF26 #8126AF
analogous
#99AF26 #54AF26 #26AF3D
triadic
#54AF26 #2654AF #AF2654
tetradic
#54AF26 #2699AF #8126AF #AF3D26
square
#54AF26 #2699AF #8126AF #AF3D26
split-complementary
#54AF26 #3D26AF #AF2699
monochromatic
#244A10 #3C7D1B #54AF26 #70D53D #95E070

Accessibility & contrast

On white

2.79
#54AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#54AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AF26
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AF26#FFFFFF#000000##000000
##54AF261.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#4DA995
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #54af26;
/* rgb */ color: rgb(84, 175, 38);
/* oklch */ color: oklch(67.2% 0.189 137.6);
Tailwind
colors: {
  custom: {
    50: '#8dc86b',
    500: '#54af26',
    950: '#000000',
  },
}
SCSS
$custom: #54af26;
$custom-light: #8dc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#54af26",
  "rgb": {
    "r": 84,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 99.854,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67213,
    "c": 0.18885,
    "h": 137.6
  },
  "luminance": 0.32685
}

Semantic roles & 50–950 ramp

primary
#54AF26
secondary
#A86AC7
accent
#40E7AF
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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