#54AF2F#54AF2F

#54AF2F is a light, vivid green. Relative luminance 0.328; OKLCH L 67.3% C 0.184 H 138.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#54AF2F
RGBrgb(84, 175, 47)
HSLhsl(103, 58%, 44%)
HSVhsv(103, 73%, 69%)
CMYKcmyk(52%, 0%, 73.1%, 31.4%)
CIE-LABlab(63.96, -49.75, 54.15)
CIE-LCHlch(63.96, 73.54, 132.58°)
OKLaboklab(67.27% -0.1374 0.1222)
OKLCHoklch(67.27% 0.184 138.3)
XYZxyz(19.4985, 32.7485, 7.9824)
Luminance0.3275 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AF2F #8A2FAF
analogous
#94AF2F #54AF2F #2FAF4A
triadic
#54AF2F #2F54AF #AF2F54
tetradic
#54AF2F #2F94AF #8A2FAF #AF4A2F
square
#54AF2F #2F94AF #8A2FAF #AF4A2F
split-complementary
#54AF2F #4A2FAF #AF2F94
monochromatic
#264F15 #3D7F22 #54AF2F #72CF4C #98DC7C

Accessibility & contrast

On white

2.78
#54AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#54AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AF2F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AF2F#FFFFFF#000000##000000
##54AF2F1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A018
Deuteranopia (green-blind)
#A9983C
Tritanopia (blue-blind)
#4DA996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #54af2f;
/* rgb */ color: rgb(84, 175, 47);
/* oklch */ color: oklch(67.3% 0.184 138.3);
Tailwind
colors: {
  custom: {
    50: '#8dc870',
    500: '#54af2f',
    950: '#000000',
  },
}
SCSS
$custom: #54af2f;
$custom-light: #8dc870;
$custom-dark: #000000;
JSON
{
  "hex": "#54af2f",
  "rgb": {
    "r": 84,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 102.656,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67274,
    "c": 0.18388,
    "h": 138.3
  },
  "luminance": 0.3275
}

Semantic roles & 50–950 ramp

primary
#54AF2F
secondary
#AE75C4
accent
#47E1B4
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #54AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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