#AFE457#AFE457

#AFE457 is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.5% C 0.178 H 127.3°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#AFE457
RGBrgb(175, 228, 87)
HSLhsl(83, 72%, 62%)
HSVhsv(83, 62%, 89%)
CMYKcmyk(23.2%, 0%, 61.8%, 10.6%)
CIE-LABlab(84.63, -37.97, 61.48)
CIE-LCHlch(84.63, 72.26, 121.70°)
OKLaboklab(85.46% -0.1078 0.1415)
OKLCHoklch(85.46% 0.178 127.3)
XYZxyz(47.1429, 65.2881, 19.1331)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE457 #8C57E4
analogous
#E4D357 #AFE457 #69E457
triadic
#AFE457 #57AFE4 #E457AF
tetradic
#AFE457 #57E4D3 #8C57E4 #E45769
square
#AFE457 #57E4D3 #8C57E4 #E45769
split-complementary
#AFE457 #5769E4 #D357E4
monochromatic
#72A61B #96DB23 #AFE457 #C8EC8C #E1F5C0

Accessibility & contrast

On white

1.49
#AFE457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#AFE457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE457
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE457#FFFFFF#000000##000000
##AFE4571.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD546
Deuteranopia (green-blind)
#E8D261
Tritanopia (blue-blind)
#B5DAC6
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe457;
/* rgb */ color: rgb(175, 228, 87);
/* oklch */ color: oklch(85.5% 0.178 127.3);
Tailwind
colors: {
  custom: {
    50: '#caec8c',
    500: '#afe457',
    950: '#000000',
  },
}
SCSS
$custom: #afe457;
$custom-light: #caec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe457",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 82.553,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85455,
    "c": 0.17786,
    "h": 127.3
  },
  "luminance": 0.65289
}

Semantic roles & 50–950 ramp

primary
#AFE457
secondary
#6237A8
accent
#11D45B
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE457

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

Preview Lab → · Contrast checker → · Palette generator →

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