#AFCE50#AFCE50

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

Color values

HEX#AFCE50
RGBrgb(175, 206, 80)
HSLhsl(75, 56%, 56%)
HSVhsv(75, 61%, 81%)
CMYKcmyk(15%, 0%, 61.2%, 19.2%)
CIE-LABlab(78.37, -28.35, 57.58)
CIE-LCHlch(78.37, 64.18, 116.21°)
OKLaboklab(80.38% -0.0817 0.1324)
OKLCHoklch(80.38% 0.156 121.7)
XYZxyz(41.1989, 53.8357, 15.8088)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE50 #6F50CE
analogous
#CEAE50 #AFCE50 #70CE50
triadic
#AFCE50 #50AFCE #CE50AF
tetradic
#AFCE50 #50CEAE #6F50CE #CE5070
square
#AFCE50 #50CEAE #6F50CE #CE5070
split-complementary
#AFCE50 #5070CE #AE50CE
monochromatic
#698024 #91B031 #AFCE50 #C5DB80 #DBE9B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE50#FFFFFF#000000##000000
##AFCE501.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)
#DAC241
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#B8C4B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce50;
/* rgb */ color: rgb(175, 206, 80);
/* oklch */ color: oklch(80.4% 0.156 121.7);
Tailwind
colors: {
  custom: {
    50: '#cadd86',
    500: '#afce50',
    950: '#000000',
  },
}
SCSS
$custom: #afce50;
$custom-light: #cadd86;
$custom-dark: #000000;
JSON
{
  "hex": "#afce50",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 80
  },
  "hsl": {
    "h": 74.762,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80376,
    "c": 0.15558,
    "h": 121.7
  },
  "luminance": 0.53836
}

Semantic roles & 50–950 ramp

primary
#AFCE50
secondary
#4E3B87
accent
#48E06D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCE50

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

Preview Lab → · Contrast checker → · Palette generator →

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