#AFCD41#AFCD41

#AFCD41 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 80.0% C 0.165 H 120.8°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#AFCD41
RGBrgb(175, 205, 65)
HSLhsl(73, 58%, 53%)
HSVhsv(73, 68%, 80%)
CMYKcmyk(14.6%, 0%, 68.3%, 19.6%)
CIE-LABlab(77.97, -28.89, 63.21)
CIE-LCHlch(77.97, 69.50, 114.57°)
OKLaboklab(80.02% -0.0846 0.1422)
OKLCHoklch(80.02% 0.165 120.8)
XYZxyz(40.4653, 53.1583, 13.1288)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD41 #5F41CD
analogous
#CDA541 #AFCD41 #69CD41
triadic
#AFCD41 #41AFCD #CD41AF
tetradic
#AFCD41 #41CDA5 #5F41CD #CD4169
square
#AFCD41 #41CDA5 #5F41CD #CD4169
split-complementary
#AFCD41 #4169CD #A541CD
monochromatic
#62751F #8BA52C #AFCD41 #C3DA71 #D8E6A2

Accessibility & contrast

On white

1.81
#AFCD41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#AFCD41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD41
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD41#FFFFFF#000000##000000
##AFCD411.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12B
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#B8C2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd41;
/* rgb */ color: rgb(175, 205, 65);
/* oklch */ color: oklch(80.0% 0.165 120.8);
Tailwind
colors: {
  custom: {
    50: '#cadc7e',
    500: '#afcd41',
    950: '#000000',
  },
}
SCSS
$custom: #afcd41;
$custom-light: #cadc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd41",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 65
  },
  "hsl": {
    "h": 72.857,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80019,
    "c": 0.16546,
    "h": 120.8
  },
  "luminance": 0.53158
}

Semantic roles & 50–950 ramp

primary
#AFCD41
secondary
#44357D
accent
#46E268
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCD41

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

Preview Lab → · Contrast checker → · Palette generator →

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