#AFCF71#AFCF71

#AFCF71 is a light, vivid yellow-green. Relative luminance 0.549; OKLCH L 81.0% C 0.126 H 124.6°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#AFCF71
RGBrgb(175, 207, 113)
HSLhsl(80, 49%, 63%)
HSVhsv(80, 45%, 81%)
CMYKcmyk(15.5%, 0%, 45.4%, 18.8%)
CIE-LABlab(79.00, -25.74, 43.05)
CIE-LCHlch(79.00, 50.16, 120.87°)
OKLaboklab(81% -0.0715 0.1038)
OKLCHoklch(81% 0.126 124.6)
XYZxyz(42.9726, 54.9316, 23.9585)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF71 #9171CF
analogous
#CFC071 #AFCF71 #80CF71
triadic
#AFCF71 #71AFCF #CF71AF
tetradic
#AFCF71 #71CFC0 #9171CF #CF7180
square
#AFCF71 #71CFC0 #9171CF #CF7180
split-complementary
#AFCF71 #7180CF #C071CF
monochromatic
#729432 #95C043 #AFCF71 #C9DE9F #E3EECC

Accessibility & contrast

On white

1.75
#AFCF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#AFCF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF71
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF71#FFFFFF#000000##000000
##AFCF711.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C569
Deuteranopia (green-blind)
#D4C376
Tritanopia (blue-blind)
#B5C7B9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf71;
/* rgb */ color: rgb(175, 207, 113);
/* oklch */ color: oklch(81.0% 0.126 124.6);
Tailwind
colors: {
  custom: {
    50: '#c8dd9b',
    500: '#afcf71',
    950: '#000000',
  },
}
SCSS
$custom: #afcf71;
$custom-light: #c8dd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf71",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 80.426,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81002,
    "c": 0.1261,
    "h": 124.6
  },
  "luminance": 0.54932
}

Semantic roles & 50–950 ramp

primary
#AFCF71
secondary
#654B9A
accent
#29BD5B
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFCF71

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

Preview Lab → · Contrast checker → · Palette generator →

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