#AFCD51#AFCD51

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

Color values

HEX#AFCD51
RGBrgb(175, 205, 81)
HSLhsl(75, 55%, 56%)
HSVhsv(75, 60%, 80%)
CMYKcmyk(14.6%, 0%, 60.5%, 19.6%)
CIE-LABlab(78.09, -27.80, 56.86)
CIE-LCHlch(78.09, 63.29, 116.05°)
OKLaboklab(80.16% -0.0801 0.131)
OKLCHoklch(80.16% 0.154 121.5)
XYZxyz(40.9962, 53.3707, 15.9248)
Luminance0.5337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD51 #6F51CD
analogous
#CDAD51 #AFCD51 #71CD51
triadic
#AFCD51 #51AFCD #CD51AF
tetradic
#AFCD51 #51CDAD #6F51CD #CD5171
square
#AFCD51 #51CDAD #6F51CD #CD5171
split-complementary
#AFCD51 #5171CD #AD51CD
monochromatic
#697F25 #91AF32 #AFCD51 #C5DB81 #DBE8B0

Accessibility & contrast

On white

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

On black

11.67
#AFCD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD51
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD51#FFFFFF#000000##000000
##AFCD511.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#B8C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd51;
/* rgb */ color: rgb(175, 205, 81);
/* oklch */ color: oklch(80.2% 0.154 121.5);
Tailwind
colors: {
  custom: {
    50: '#c9dc87',
    500: '#afcd51',
    950: '#000000',
  },
}
SCSS
$custom: #afcd51;
$custom-light: #c9dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd51",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 74.516,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80159,
    "c": 0.15351,
    "h": 121.5
  },
  "luminance": 0.53371
}

Semantic roles & 50–950 ramp

primary
#AFCD51
secondary
#4E3B87
accent
#49DF6D
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD51

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

Preview Lab → · Contrast checker → · Palette generator →

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