#AFE66F#AFE66F

#AFE66F is a very light, vivid yellow-green. Relative luminance 0.669; OKLCH L 86.2% C 0.160 H 129.7°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#AFE66F
RGBrgb(175, 230, 111)
HSLhsl(88, 70%, 67%)
HSVhsv(88, 52%, 90%)
CMYKcmyk(23.9%, 0%, 51.7%, 9.8%)
CIE-LABlab(85.43, -36.70, 51.82)
CIE-LCHlch(85.43, 63.50, 125.31°)
OKLaboklab(86.18% -0.1023 0.1231)
OKLCHoklch(86.18% 0.16 129.7)
XYZxyz(48.8448, 66.8542, 25.3666)
Luminance0.6685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE66F #A66FE6
analogous
#E6E16F #AFE66F #74E66F
triadic
#AFE66F #6FAFE6 #E66FAF
tetradic
#AFE66F #6FE6E1 #A66FE6 #E66F74
square
#AFE66F #6FE6E1 #A66FE6 #E66F74
split-complementary
#AFE66F #6F74E6 #E16FE6
monochromatic
#73BA20 #92DD3B #AFE66F #CCEFA3 #E9F8D7

Accessibility & contrast

On white

1.46
#AFE66F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#AFE66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE66F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE66F#FFFFFF#000000##000000
##AFE66F1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD864
Deuteranopia (green-blind)
#E7D477
Tritanopia (blue-blind)
#B3DDCB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe66f;
/* rgb */ color: rgb(175, 230, 111);
/* oklch */ color: oklch(86.2% 0.160 129.7);
Tailwind
colors: {
  custom: {
    50: '#c9ee9b',
    500: '#afe66f',
    950: '#000000',
  },
}
SCSS
$custom: #afe66f;
$custom-light: #c9ee9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe66f",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 111
  },
  "hsl": {
    "h": 87.731,
    "s": 70.414,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86176,
    "c": 0.16004,
    "h": 129.7
  },
  "luminance": 0.66855
}

Semantic roles & 50–950 ramp

primary
#AFE66F
secondary
#783FBA
accent
#13D26C
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE66F

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

Preview Lab → · Contrast checker → · Palette generator →

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