#AFCA15#AFCA15

#AFCA15 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.1% C 0.182 H 119.1°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#AFCA15
RGBrgb(175, 202, 21)
HSLhsl(69, 81%, 44%)
HSVhsv(69, 90%, 79%)
CMYKcmyk(13.4%, 0%, 89.6%, 20.8%)
CIE-LABlab(76.93, -29.20, 74.47)
CIE-LCHlch(76.93, 79.99, 111.41°)
OKLaboklab(79.12% -0.0885 0.1593)
OKLCHoklch(79.12% 0.182 119.1)
XYZxyz(38.9360, 51.4094, 8.5812)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA15 #3015CA
analogous
#CA8A15 #AFCA15 #54CA15
triadic
#AFCA15 #15AFCA #CA15AF
tetradic
#AFCA15 #15CA8A #3015CA #CA1554
square
#AFCA15 #15CA8A #3015CA #CA1554
split-complementary
#AFCA15 #1554CA #8A15CA
monochromatic
#4F5B09 #7F930F #AFCA15 #CEEA32 #DCEF6A

Accessibility & contrast

On white

1.86
#AFCA15 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#AFCA15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA15
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA15#FFFFFF#000000##000000
##AFCA151.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D5BE2E
Tritanopia (blue-blind)
#BABEAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca15;
/* rgb */ color: rgb(175, 202, 21);
/* oklch */ color: oklch(79.1% 0.182 119.1);
Tailwind
colors: {
  custom: {
    50: '#cbda6b',
    500: '#afca15',
    950: '#000000',
  },
}
SCSS
$custom: #afca15;
$custom-light: #cbda6b;
$custom-dark: #000000;
JSON
{
  "hex": "#afca15",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 21
  },
  "hsl": {
    "h": 68.95,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.79117,
    "c": 0.1822,
    "h": 119.1
  },
  "luminance": 0.51409
}

Semantic roles & 50–950 ramp

primary
#AFCA15
secondary
#271C67
accent
#30F84E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #AFCA15

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

Preview Lab → · Contrast checker → · Palette generator →

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