#AFE66B#AFE66B

#AFE66B is a very light, vivid yellow-green. Relative luminance 0.668; OKLCH L 86.1% C 0.164 H 129.3°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#AFE66B
RGBrgb(175, 230, 107)
HSLhsl(87, 71%, 66%)
HSVhsv(87, 53%, 90%)
CMYKcmyk(23.9%, 0%, 53.5%, 9.8%)
CIE-LABlab(85.39, -37.11, 53.60)
CIE-LCHlch(85.39, 65.19, 124.69°)
OKLaboklab(86.13% -0.1037 0.1266)
OKLCHoklch(86.13% 0.164 129.3)
XYZxyz(48.6295, 66.7681, 24.2325)
Luminance0.6677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE66B #A26BE6
analogous
#E6DF6B #AFE66B #71E66B
triadic
#AFE66B #6BAFE6 #E66BAF
tetradic
#AFE66B #6BE6DF #A26BE6 #E66B71
square
#AFE66B #6BE6DF #A26BE6 #E66B71
split-complementary
#AFE66B #6B71E6 #DF6BE6
monochromatic
#73B81F #93DD37 #AFE66B #CBEF9F #E8F8D4

Accessibility & contrast

On white

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

On black

14.35
#AFE66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE66B
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE66B#FFFFFF#000000##000000
##AFE66B1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D85F
Deuteranopia (green-blind)
#E8D473
Tritanopia (blue-blind)
#B3DDCA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe66b;
/* rgb */ color: rgb(175, 230, 107);
/* oklch */ color: oklch(86.1% 0.164 129.3);
Tailwind
colors: {
  custom: {
    50: '#c9ee98',
    500: '#afe66b',
    950: '#000000',
  },
}
SCSS
$custom: #afe66b;
$custom-light: #c9ee98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe66b",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 107
  },
  "hsl": {
    "h": 86.829,
    "s": 71.098,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86127,
    "c": 0.1637,
    "h": 129.3
  },
  "luminance": 0.66769
}

Semantic roles & 50–950 ramp

primary
#AFE66B
secondary
#743EB8
accent
#12D369
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE66B

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

Preview Lab → · Contrast checker → · Palette generator →

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