#AFDA66#AFDA66

#AFDA66 is a very light, vivid yellow-green. Relative luminance 0.602; OKLCH L 83.3% C 0.152 H 126.4°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#AFDA66
RGBrgb(175, 218, 102)
HSLhsl(82, 61%, 63%)
HSVhsv(82, 53%, 85%)
CMYKcmyk(19.7%, 0%, 53.2%, 14.5%)
CIE-LABlab(81.96, -32.09, 51.86)
CIE-LCHlch(81.96, 60.99, 121.75°)
OKLaboklab(83.34% -0.0902 0.1224)
OKLCHoklch(83.34% 0.152 126.4)
XYZxyz(45.1488, 60.2155, 21.8119)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA66 #9166DA
analogous
#DACB66 #AFDA66 #75DA66
triadic
#AFDA66 #66AFDA #DA66AF
tetradic
#AFDA66 #66DACB #9166DA #DA6675
square
#AFDA66 #66DACB #9166DA #DA6675
split-complementary
#AFDA66 #6675DA #CB66DA
monochromatic
#729F26 #95CE35 #AFDA66 #C9E697 #E3F2C9

Accessibility & contrast

On white

1.61
#AFDA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#AFDA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA66
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA66#FFFFFF#000000##000000
##AFDA661.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD5B
Deuteranopia (green-blind)
#DECB6D
Tritanopia (blue-blind)
#B5D1C0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afda66;
/* rgb */ color: rgb(175, 218, 102);
/* oklch */ color: oklch(83.3% 0.152 126.4);
Tailwind
colors: {
  custom: {
    50: '#c9e595',
    500: '#afda66',
    950: '#000000',
  },
}
SCSS
$custom: #afda66;
$custom-light: #c9e595;
$custom-dark: #000000;
JSON
{
  "hex": "#afda66",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 102
  },
  "hsl": {
    "h": 82.241,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83338,
    "c": 0.15207,
    "h": 126.4
  },
  "luminance": 0.60216
}

Semantic roles & 50–950 ramp

primary
#AFDA66
secondary
#6541A3
accent
#1DC95D
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFDA66

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

Preview Lab → · Contrast checker → · Palette generator →

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