#AFCF41#AFCF41

#AFCF41 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.5% C 0.168 H 121.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#AFCF41
RGBrgb(175, 207, 65)
HSLhsl(74, 60%, 53%)
HSVhsv(74, 69%, 81%)
CMYKcmyk(15.5%, 0%, 68.6%, 18.8%)
CIE-LABlab(78.53, -29.84, 63.78)
CIE-LCHlch(78.53, 70.41, 115.07°)
OKLaboklab(80.47% -0.0873 0.1434)
OKLCHoklch(80.47% 0.168 121.3)
XYZxyz(40.9468, 54.1213, 13.2893)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF41 #6141CF
analogous
#CFA841 #AFCF41 #68CF41
triadic
#AFCF41 #41AFCF #CF41AF
tetradic
#AFCF41 #41CFA8 #6141CF #CF4168
square
#AFCF41 #41CFA8 #6141CF #CF4168
split-complementary
#AFCF41 #4168CF #A841CF
monochromatic
#63771E #8CA82B #AFCF41 #C4DB72 #D8E8A3

Accessibility & contrast

On white

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

On black

11.82
#AFCF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF41
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF41#FFFFFF#000000##000000
##AFCF411.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32B
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#B8C4B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf41;
/* rgb */ color: rgb(175, 207, 65);
/* oklch */ color: oklch(80.5% 0.168 121.3);
Tailwind
colors: {
  custom: {
    50: '#cadd7e',
    500: '#afcf41',
    950: '#000000',
  },
}
SCSS
$custom: #afcf41;
$custom-light: #cadd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf41",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 65
  },
  "hsl": {
    "h": 73.521,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80473,
    "c": 0.16784,
    "h": 121.3
  },
  "luminance": 0.54121
}

Semantic roles & 50–950 ramp

primary
#AFCF41
secondary
#453480
accent
#45E369
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCF41

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

Preview Lab → · Contrast checker → · Palette generator →

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