#AFD54A#AFD54A

#AFD54A is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.9% C 0.169 H 123.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#AFD54A
RGBrgb(175, 213, 74)
HSLhsl(76, 62%, 56%)
HSVhsv(76, 65%, 84%)
CMYKcmyk(17.8%, 0%, 65.3%, 16.5%)
CIE-LABlab(80.29, -32.07, 62.11)
CIE-LCHlch(80.29, 69.91, 117.31°)
OKLaboklab(81.91% -0.0926 0.1412)
OKLCHoklch(81.91% 0.169 123.3)
XYZxyz(42.7099, 57.1966, 15.2672)
Luminance0.5720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD54A #704AD5
analogous
#D5B64A #AFD54A #6AD54A
triadic
#AFD54A #4AAFD5 #D54AAF
tetradic
#AFD54A #4AD5B6 #704AD5 #D54A6A
square
#AFD54A #4AD5B6 #704AD5 #D54A6A
split-complementary
#AFD54A #4A6AD5 #B64AD5
monochromatic
#6A861F #91B72B #AFD54A #C5E17C #DBECAD

Accessibility & contrast

On white

1.69
#AFD54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#AFD54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD54A
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD54A#FFFFFF#000000##000000
##AFD54A1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C837
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#B7CBB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd54a;
/* rgb */ color: rgb(175, 213, 74);
/* oklch */ color: oklch(81.9% 0.169 123.3);
Tailwind
colors: {
  custom: {
    50: '#cae283',
    500: '#afd54a',
    950: '#000000',
  },
}
SCSS
$custom: #afd54a;
$custom-light: #cae283;
$custom-dark: #000000;
JSON
{
  "hex": "#afd54a",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 76.403,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81912,
    "c": 0.16885,
    "h": 123.3
  },
  "luminance": 0.57197
}

Semantic roles & 50–950 ramp

primary
#AFD54A
secondary
#4E378C
accent
#42E56F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD54A

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

Preview Lab → · Contrast checker → · Palette generator →

#AFD54A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva