#AFCE71#AFCE71

#AFCE71 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.8% C 0.125 H 124.3°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#AFCE71
RGBrgb(175, 206, 113)
HSLhsl(80, 49%, 63%)
HSVhsv(80, 45%, 81%)
CMYKcmyk(15%, 0%, 45.1%, 19.2%)
CIE-LABlab(78.72, -25.25, 42.71)
CIE-LCHlch(78.72, 49.61, 120.60°)
OKLaboklab(80.78% -0.0702 0.1031)
OKLCHoklch(80.78% 0.125 124.3)
XYZxyz(42.7310, 54.4486, 23.8780)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE71 #9071CE
analogous
#CEBE71 #AFCE71 #80CE71
triadic
#AFCE71 #71AFCE #CE71AF
tetradic
#AFCE71 #71CEBE #9071CE #CE7180
square
#AFCE71 #71CEBE #9071CE #CE7180
split-complementary
#AFCE71 #7180CE #BE71CE
monochromatic
#729232 #95BE44 #AFCE71 #C9DE9E #E2EDCC

Accessibility & contrast

On white

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

On black

11.89
#AFCE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE71
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE71#FFFFFF#000000##000000
##AFCE711.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C469
Deuteranopia (green-blind)
#D3C376
Tritanopia (blue-blind)
#B5C6B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afce71;
/* rgb */ color: rgb(175, 206, 113);
/* oklch */ color: oklch(80.8% 0.125 124.3);
Tailwind
colors: {
  custom: {
    50: '#c8dd9b',
    500: '#afce71',
    950: '#000000',
  },
}
SCSS
$custom: #afce71;
$custom-light: #c8dd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afce71",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 113
  },
  "hsl": {
    "h": 80,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80778,
    "c": 0.12469,
    "h": 124.3
  },
  "luminance": 0.54449
}

Semantic roles & 50–950 ramp

primary
#AFCE71
secondary
#654B98
accent
#2ABC5A
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCE71

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

Preview Lab → · Contrast checker → · Palette generator →

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