#AFE957#AFE957

#AFE957 is a very light, vivid yellow-green. Relative luminance 0.681; OKLCH L 86.6% C 0.184 H 128.2°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#AFE957
RGBrgb(175, 233, 87)
HSLhsl(84, 77%, 63%)
HSVhsv(84, 63%, 91%)
CMYKcmyk(24.9%, 0%, 62.7%, 8.6%)
CIE-LABlab(86.05, -40.20, 63.02)
CIE-LCHlch(86.05, 74.75, 122.53°)
OKLaboklab(86.6% -0.1139 0.1447)
OKLCHoklch(86.6% 0.184 128.2)
XYZxyz(48.5383, 68.0789, 19.5983)
Luminance0.6808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE957 #9157E9
analogous
#E9DA57 #AFE957 #66E957
triadic
#AFE957 #57AFE9 #E957AF
tetradic
#AFE957 #57E9DA #9157E9 #E95766
square
#AFE957 #57E9DA #9157E9 #E95766
split-complementary
#AFE957 #5766E9 #DA57E9
monochromatic
#72AF17 #95E221 #AFE957 #C9F08D #E3F7C3

Accessibility & contrast

On white

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

On black

14.62
#AFE957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE957
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE957#FFFFFF#000000##000000
##AFE9571.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA45
Deuteranopia (green-blind)
#ECD662
Tritanopia (blue-blind)
#B4DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe957;
/* rgb */ color: rgb(175, 233, 87);
/* oklch */ color: oklch(86.6% 0.184 128.2);
Tailwind
colors: {
  custom: {
    50: '#caf08c',
    500: '#afe957',
    950: '#000000',
  },
}
SCSS
$custom: #afe957;
$custom-light: #caf08c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe957",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 83.836,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.866,
    "c": 0.1842,
    "h": 128.2
  },
  "luminance": 0.6808
}

Semantic roles & 50–950 ramp

primary
#AFE957
secondary
#6535AF
accent
#0CD95E
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE957

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

Preview Lab → · Contrast checker → · Palette generator →

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