#AFCD54#AFCD54

#AFCD54 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 80.2% C 0.151 H 121.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#AFCD54
RGBrgb(175, 205, 84)
HSLhsl(75, 55%, 57%)
HSVhsv(75, 59%, 80%)
CMYKcmyk(14.6%, 0%, 59%, 19.6%)
CIE-LABlab(78.12, -27.56, 55.58)
CIE-LCHlch(78.12, 62.04, 116.37°)
OKLaboklab(80.19% -0.0791 0.1286)
OKLCHoklch(80.19% 0.151 121.6)
XYZxyz(41.1112, 53.4167, 16.5304)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD54 #7254CD
analogous
#CDAF54 #AFCD54 #73CD54
triadic
#AFCD54 #54AFCD #CD54AF
tetradic
#AFCD54 #54CDAF #7254CD #CD5473
square
#AFCD54 #54CDAF #7254CD #CD5473
split-complementary
#AFCD54 #5473CD #AF54CD
monochromatic
#6A8126 #91B034 #AFCD54 #C5DB83 #DBE9B3

Accessibility & contrast

On white

1.80
#AFCD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#AFCD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD54
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD54#FFFFFF#000000##000000
##AFCD541.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C247
Deuteranopia (green-blind)
#D5C15C
Tritanopia (blue-blind)
#B7C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd54;
/* rgb */ color: rgb(175, 205, 84);
/* oklch */ color: oklch(80.2% 0.151 121.6);
Tailwind
colors: {
  custom: {
    50: '#c9dc89',
    500: '#afcd54',
    950: '#000000',
  },
}
SCSS
$custom: #afcd54;
$custom-light: #c9dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd54",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 74.876,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8019,
    "c": 0.15101,
    "h": 121.6
  },
  "luminance": 0.53417
}

Semantic roles & 50–950 ramp

primary
#AFCD54
secondary
#503D88
accent
#4ADE6E
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD54

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

Preview Lab → · Contrast checker → · Palette generator →

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