#AFCD66#AFCD66

#AFCD66 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.4% C 0.135 H 122.9°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#AFCD66
RGBrgb(175, 205, 102)
HSLhsl(77, 51%, 60%)
HSVhsv(77, 50%, 80%)
CMYKcmyk(14.6%, 0%, 50.2%, 19.6%)
CIE-LABlab(78.31, -25.94, 47.54)
CIE-LCHlch(78.31, 54.15, 118.61°)
OKLaboklab(80.4% -0.073 0.113)
OKLCHoklch(80.4% 0.135 122.9)
XYZxyz(41.9089, 53.7358, 20.7320)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD66 #8466CD
analogous
#CDB866 #AFCD66 #7BCD66
triadic
#AFCD66 #66AFCD #CD66AF
tetradic
#AFCD66 #66CDB8 #8466CD #CD667B
square
#AFCD66 #66CDB8 #8466CD #CD667B
split-complementary
#AFCD66 #667BCD #B866CD
monochromatic
#708B2D #95B93D #AFCD66 #C7DC94 #DFEBC2

Accessibility & contrast

On white

1.79
#AFCD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#AFCD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD66
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD66#FFFFFF#000000##000000
##AFCD661.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C25D
Deuteranopia (green-blind)
#D3C26C
Tritanopia (blue-blind)
#B6C4B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd66;
/* rgb */ color: rgb(175, 205, 102);
/* oklch */ color: oklch(80.4% 0.135 122.9);
Tailwind
colors: {
  custom: {
    50: '#c9dc94',
    500: '#afcd66',
    950: '#000000',
  },
}
SCSS
$custom: #afcd66;
$custom-light: #c9dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd66",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 77.476,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80401,
    "c": 0.13451,
    "h": 122.9
  },
  "luminance": 0.53736
}

Semantic roles & 50–950 ramp

primary
#AFCD66
secondary
#5C4592
accent
#27BE53
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCD66

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

Preview Lab → · Contrast checker → · Palette generator →

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