#AFE852#AFE852

#AFE852 is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.3% C 0.187 H 127.7°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#AFE852
RGBrgb(175, 232, 82)
HSLhsl(83, 77%, 62%)
HSVhsv(83, 65%, 91%)
CMYKcmyk(24.6%, 0%, 64.7%, 9%)
CIE-LABlab(85.72, -40.13, 64.68)
CIE-LCHlch(85.72, 76.12, 121.82°)
OKLaboklab(86.33% -0.1141 0.1476)
OKLCHoklch(86.33% 0.187 127.7)
XYZxyz(48.0588, 67.4354, 18.4654)
Luminance0.6744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE852 #8B52E8
analogous
#E8D652 #AFE852 #64E852
triadic
#AFE852 #52AFE8 #E852AF
tetradic
#AFE852 #52E8D6 #8B52E8 #E85264
square
#AFE852 #52E8D6 #8B52E8 #E85264
split-complementary
#AFE852 #5264E8 #D652E8
monochromatic
#71A916 #96DF1E #AFE852 #C8EF88 #E1F6BE

Accessibility & contrast

On white

1.45
#AFE852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#AFE852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE852
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE852#FFFFFF#000000##000000
##AFE8521.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93E
Deuteranopia (green-blind)
#EBD55E
Tritanopia (blue-blind)
#B5DEC9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe852;
/* rgb */ color: rgb(175, 232, 82);
/* oklch */ color: oklch(86.3% 0.187 127.7);
Tailwind
colors: {
  custom: {
    50: '#caef89',
    500: '#afe852',
    950: '#000000',
  },
}
SCSS
$custom: #afe852;
$custom-light: #caef89;
$custom-dark: #000000;
JSON
{
  "hex": "#afe852",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 82
  },
  "hsl": {
    "h": 82.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86326,
    "c": 0.18661,
    "h": 127.7
  },
  "luminance": 0.67436
}

Semantic roles & 50–950 ramp

primary
#AFE852
secondary
#6134AB
accent
#0DD95A
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE852

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

Preview Lab → · Contrast checker → · Palette generator →

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