#AFE966#AFE966

#AFE966 is a very light, vivid yellow-green. Relative luminance 0.684; OKLCH L 86.8% C 0.172 H 129.4°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#AFE966
RGBrgb(175, 233, 102)
HSLhsl(87, 75%, 66%)
HSVhsv(87, 56%, 91%)
CMYKcmyk(24.9%, 0%, 56.2%, 8.6%)
CIE-LABlab(86.18, -38.93, 56.77)
CIE-LCHlch(86.18, 68.84, 124.44°)
OKLaboklab(86.75% -0.1092 0.133)
OKLCHoklch(86.75% 0.172 129.4)
XYZxyz(49.2160, 68.3500, 23.1677)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE966 #A066E9
analogous
#E9E166 #AFE966 #6DE966
triadic
#AFE966 #66AFE9 #E966AF
tetradic
#AFE966 #66E9E1 #A066E9 #E9666D
square
#AFE966 #66E9E1 #A066E9 #E9666D
split-complementary
#AFE966 #666DE9 #E166E9
monochromatic
#73BA1B #93E130 #AFE966 #CBF19C #E7F8D1

Accessibility & contrast

On white

1.43
#AFE966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#AFE966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE966
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE966#FFFFFF#000000##000000
##AFE9661.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA59
Deuteranopia (green-blind)
#EBD66F
Tritanopia (blue-blind)
#B3E0CC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe966;
/* rgb */ color: rgb(175, 233, 102);
/* oklch */ color: oklch(86.8% 0.172 129.4);
Tailwind
colors: {
  custom: {
    50: '#caf095',
    500: '#afe966',
    950: '#000000',
  },
}
SCSS
$custom: #afe966;
$custom-light: #caf095;
$custom-dark: #000000;
JSON
{
  "hex": "#afe966",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 102
  },
  "hsl": {
    "h": 86.565,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86753,
    "c": 0.1721,
    "h": 129.4
  },
  "luminance": 0.68351
}

Semantic roles & 50–950 ramp

primary
#AFE966
secondary
#723AB9
accent
#0ED767
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE966

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

Preview Lab → · Contrast checker → · Palette generator →

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