#AFE952#AFE952

#AFE952 is a very light, vivid yellow-green. Relative luminance 0.680; OKLCH L 86.6% C 0.188 H 127.9°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#AFE952
RGBrgb(175, 233, 82)
HSLhsl(83, 77%, 62%)
HSVhsv(83, 65%, 91%)
CMYKcmyk(24.9%, 0%, 64.8%, 8.6%)
CIE-LABlab(86.01, -40.57, 64.98)
CIE-LCHlch(86.01, 76.61, 121.98°)
OKLaboklab(86.56% -0.1154 0.1483)
OKLCHoklch(86.56% 0.188 127.9)
XYZxyz(48.3410, 68.0000, 18.5595)
Luminance0.6800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE952 #8C52E9
analogous
#E9D752 #AFE952 #64E952
triadic
#AFE952 #52AFE9 #E952AF
tetradic
#AFE952 #52E9D7 #8C52E9 #E95264
square
#AFE952 #52E9D7 #8C52E9 #E95264
split-complementary
#AFE952 #5264E9 #D752E9
monochromatic
#72AB16 #96E11D #AFE952 #C8F088 #E1F7BF

Accessibility & contrast

On white

1.44
#AFE952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#AFE952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE952
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE952#FFFFFF#000000##000000
##AFE9521.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA3E
Deuteranopia (green-blind)
#ECD65E
Tritanopia (blue-blind)
#B5DFCA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe952;
/* rgb */ color: rgb(175, 233, 82);
/* oklch */ color: oklch(86.6% 0.188 127.9);
Tailwind
colors: {
  custom: {
    50: '#cbf089',
    500: '#afe952',
    950: '#000000',
  },
}
SCSS
$custom: #afe952;
$custom-light: #cbf089;
$custom-dark: #000000;
JSON
{
  "hex": "#afe952",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 83.046,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86555,
    "c": 0.18786,
    "h": 127.9
  },
  "luminance": 0.68001
}

Semantic roles & 50–950 ramp

primary
#AFE952
secondary
#6233AC
accent
#0CDA5B
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE952

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

Preview Lab → · Contrast checker → · Palette generator →

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