#AFCA41#AFCA41

#AFCA41 is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.3% C 0.162 H 119.9°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#AFCA41
RGBrgb(175, 202, 65)
HSLhsl(72, 56%, 52%)
HSVhsv(72, 68%, 79%)
CMYKcmyk(13.4%, 0%, 67.8%, 20.8%)
CIE-LABlab(77.12, -27.47, 62.35)
CIE-LCHlch(77.12, 68.13, 113.78°)
OKLaboklab(79.34% -0.0807 0.1404)
OKLCHoklch(79.34% 0.162 119.9)
XYZxyz(39.7545, 51.7368, 12.8919)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA41 #5C41CA
analogous
#CAA141 #AFCA41 #6ACA41
triadic
#AFCA41 #41AFCA #CA41AF
tetradic
#AFCA41 #41CAA1 #5C41CA #CA416A
square
#AFCA41 #41CAA1 #5C41CA #CA416A
split-complementary
#AFCA41 #416ACA #A141CA
monochromatic
#617120 #8AA12D #AFCA41 #C3D771 #D7E5A1

Accessibility & contrast

On white

1.85
#AFCA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#AFCA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA41
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA41#FFFFFF#000000##000000
##AFCA411.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2C
Deuteranopia (green-blind)
#D3BF4C
Tritanopia (blue-blind)
#B9BFAF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca41;
/* rgb */ color: rgb(175, 202, 65);
/* oklch */ color: oklch(79.3% 0.162 119.9);
Tailwind
colors: {
  custom: {
    50: '#cada7d',
    500: '#afca41',
    950: '#000000',
  },
}
SCSS
$custom: #afca41;
$custom-light: #cada7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afca41",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 65
  },
  "hsl": {
    "h": 71.825,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79338,
    "c": 0.16191,
    "h": 119.9
  },
  "luminance": 0.51737
}

Semantic roles & 50–950 ramp

primary
#AFCA41
secondary
#43357A
accent
#48E066
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCA41

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

Preview Lab → · Contrast checker → · Palette generator →

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