#AFE759#AFE759

#AFE759 is a very light, vivid yellow-green. Relative luminance 0.670; OKLCH L 86.2% C 0.180 H 128.0°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#AFE759
RGBrgb(175, 231, 89)
HSLhsl(84, 75%, 63%)
HSVhsv(84, 61%, 91%)
CMYKcmyk(24.2%, 0%, 61.5%, 9.4%)
CIE-LABlab(85.50, -39.15, 61.60)
CIE-LCHlch(85.50, 72.99, 122.44°)
OKLaboklab(86.16% -0.1109 0.142)
OKLCHoklch(86.16% 0.18 128)
XYZxyz(48.0582, 66.9861, 19.8469)
Luminance0.6699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE759 #9159E7
analogous
#E7D859 #AFE759 #68E759
triadic
#AFE759 #59AFE7 #E759AF
tetradic
#AFE759 #59E7D8 #9159E7 #E75968
square
#AFE759 #59E7D8 #9159E7 #E75968
split-complementary
#AFE759 #5968E7 #D859E7
monochromatic
#72AD19 #95DF24 #AFE759 #C9EF8E #E3F6C4

Accessibility & contrast

On white

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

On black

14.40
#AFE759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE759
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE759#FFFFFF#000000##000000
##AFE7591.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D848
Deuteranopia (green-blind)
#EAD563
Tritanopia (blue-blind)
#B4DDC9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe759;
/* rgb */ color: rgb(175, 231, 89);
/* oklch */ color: oklch(86.2% 0.180 128.0);
Tailwind
colors: {
  custom: {
    50: '#caef8d',
    500: '#afe759',
    950: '#000000',
  },
}
SCSS
$custom: #afe759;
$custom-light: #caef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe759",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 89
  },
  "hsl": {
    "h": 83.662,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8616,
    "c": 0.18014,
    "h": 128
  },
  "luminance": 0.66987
}

Semantic roles & 50–950 ramp

primary
#AFE759
secondary
#6536AE
accent
#0FD75E
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE759

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

Preview Lab → · Contrast checker → · Palette generator →

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