#AFCF47#AFCF47

#AFCF47 is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.5% C 0.164 H 121.6°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#AFCF47
RGBrgb(175, 207, 71)
HSLhsl(74, 59%, 55%)
HSVhsv(74, 66%, 81%)
CMYKcmyk(15.5%, 0%, 65.7%, 18.8%)
CIE-LABlab(78.58, -29.46, 61.51)
CIE-LCHlch(78.58, 68.20, 115.59°)
OKLaboklab(80.52% -0.0857 0.1395)
OKLCHoklch(80.52% 0.164 121.6)
XYZxyz(41.1299, 54.1945, 14.2538)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF47 #6747CF
analogous
#CFAB47 #AFCF47 #6BCF47
triadic
#AFCF47 #47AFCF #CF47AF
tetradic
#AFCF47 #47CFAB #6747CF #CF476B
square
#AFCF47 #47CFAB #6747CF #CF476B
split-complementary
#AFCF47 #476BCF #AB47CF
monochromatic
#667B20 #8EAC2D #AFCF47 #C4DC78 #D9E8A8

Accessibility & contrast

On white

1.77
#AFCF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#AFCF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF47
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF47#FFFFFF#000000##000000
##AFCF471.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC334
Deuteranopia (green-blind)
#D7C351
Tritanopia (blue-blind)
#B8C5B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf47;
/* rgb */ color: rgb(175, 207, 71);
/* oklch */ color: oklch(80.5% 0.164 121.6);
Tailwind
colors: {
  custom: {
    50: '#cadd81',
    500: '#afcf47',
    950: '#000000',
  },
}
SCSS
$custom: #afcf47;
$custom-light: #cadd81;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf47",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 74.118,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80521,
    "c": 0.16369,
    "h": 121.6
  },
  "luminance": 0.54195
}

Semantic roles & 50–950 ramp

primary
#AFCF47
secondary
#493783
accent
#46E26B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF47

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

Preview Lab → · Contrast checker → · Palette generator →

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