#AFCA50#AFCA50

#AFCA50 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.5% C 0.151 H 120.5°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#AFCA50
RGBrgb(175, 202, 80)
HSLhsl(73, 54%, 55%)
HSVhsv(73, 60%, 79%)
CMYKcmyk(13.4%, 0%, 60.4%, 20.8%)
CIE-LABlab(77.24, -26.44, 56.35)
CIE-LCHlch(77.24, 62.24, 115.13°)
OKLaboklab(79.47% -0.0764 0.1298)
OKLCHoklch(79.47% 0.151 120.5)
XYZxyz(40.2482, 51.9343, 15.4919)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA50 #6B50CA
analogous
#CAA850 #AFCA50 #72CA50
triadic
#AFCA50 #50AFCA #CA50AF
tetradic
#AFCA50 #50CAA8 #6B50CA #CA5072
square
#AFCA50 #50CAA8 #6B50CA #CA5072
split-complementary
#AFCA50 #5072CA #A850CA
monochromatic
#687A25 #8FA933 #AFCA50 #C4D87F #DAE6AE

Accessibility & contrast

On white

1.84
#AFCA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#AFCA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA50
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA50#FFFFFF#000000##000000
##AFCA501.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#D2BF58
Tritanopia (blue-blind)
#B8C0B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca50;
/* rgb */ color: rgb(175, 202, 80);
/* oklch */ color: oklch(79.5% 0.151 120.5);
Tailwind
colors: {
  custom: {
    50: '#c9da86',
    500: '#afca50',
    950: '#000000',
  },
}
SCSS
$custom: #afca50;
$custom-light: #c9da86;
$custom-dark: #000000;
JSON
{
  "hex": "#afca50",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 73.279,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79471,
    "c": 0.15059,
    "h": 120.5
  },
  "luminance": 0.51934
}

Semantic roles & 50–950 ramp

primary
#AFCA50
secondary
#4B3B83
accent
#4BDD6B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFCA50

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

Preview Lab → · Contrast checker → · Palette generator →

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