#AFCE51#AFCE51

#AFCE51 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.4% C 0.155 H 121.7°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#AFCE51
RGBrgb(175, 206, 81)
HSLhsl(75, 56%, 56%)
HSVhsv(75, 61%, 81%)
CMYKcmyk(15%, 0%, 60.7%, 19.2%)
CIE-LABlab(78.37, -28.27, 57.16)
CIE-LCHlch(78.37, 63.77, 116.32°)
OKLaboklab(80.39% -0.0814 0.1316)
OKLCHoklch(80.39% 0.155 121.7)
XYZxyz(41.2361, 53.8506, 16.0048)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE51 #7051CE
analogous
#CEAF51 #AFCE51 #71CE51
triadic
#AFCE51 #51AFCE #CE51AF
tetradic
#AFCE51 #51CEAF #7051CE #CE5171
square
#AFCE51 #51CEAF #7051CE #CE5171
split-complementary
#AFCE51 #5171CE #AF51CE
monochromatic
#6A8024 #91B032 #AFCE51 #C5DB81 #DBE9B1

Accessibility & contrast

On white

1.78
#AFCE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#AFCE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE51
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE51#FFFFFF#000000##000000
##AFCE511.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC242
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#B7C4B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce51;
/* rgb */ color: rgb(175, 206, 81);
/* oklch */ color: oklch(80.4% 0.155 121.7);
Tailwind
colors: {
  custom: {
    50: '#c9dd87',
    500: '#afce51',
    950: '#000000',
  },
}
SCSS
$custom: #afce51;
$custom-light: #c9dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#afce51",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 74.88,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80386,
    "c": 0.15477,
    "h": 121.7
  },
  "luminance": 0.53851
}

Semantic roles & 50–950 ramp

primary
#AFCE51
secondary
#4E3B88
accent
#48DF6E
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCE51

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

Preview Lab → · Contrast checker → · Palette generator →

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