#AFCE66#AFCE66

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

Color values

HEX#AFCE66
RGBrgb(175, 206, 102)
HSLhsl(78, 51%, 60%)
HSVhsv(78, 50%, 81%)
CMYKcmyk(15%, 0%, 50.5%, 19.2%)
CIE-LABlab(78.59, -26.42, 47.87)
CIE-LCHlch(78.59, 54.68, 118.89°)
OKLaboklab(80.63% -0.0743 0.1137)
OKLCHoklch(80.63% 0.136 123.2)
XYZxyz(42.1489, 54.2157, 20.8120)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE66 #8566CE
analogous
#CEB966 #AFCE66 #7BCE66
triadic
#AFCE66 #66AFCE #CE66AF
tetradic
#AFCE66 #66CEB9 #8566CE #CE667B
square
#AFCE66 #66CEB9 #8566CE #CE667B
split-complementary
#AFCE66 #667BCE #B966CE
monochromatic
#708D2D #95BB3C #AFCE66 #C7DD94 #DFECC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE66#FFFFFF#000000##000000
##AFCE661.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)
#D8C35D
Deuteranopia (green-blind)
#D4C26C
Tritanopia (blue-blind)
#B6C5B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce66;
/* rgb */ color: rgb(175, 206, 102);
/* oklch */ color: oklch(80.6% 0.136 123.2);
Tailwind
colors: {
  custom: {
    50: '#c9dd94',
    500: '#afce66',
    950: '#000000',
  },
}
SCSS
$custom: #afce66;
$custom-light: #c9dd94;
$custom-dark: #000000;
JSON
{
  "hex": "#afce66",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 102
  },
  "hsl": {
    "h": 77.885,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80626,
    "c": 0.13587,
    "h": 123.2
  },
  "luminance": 0.54216
}

Semantic roles & 50–950 ramp

primary
#AFCE66
secondary
#5C4593
accent
#27BF54
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCE66

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

Preview Lab → · Contrast checker → · Palette generator →

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