#AFE750#AFE750

#AFE750 is a very light, vivid yellow-green. Relative luminance 0.668; OKLCH L 86.1% C 0.187 H 127.4°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#AFE750
RGBrgb(175, 231, 80)
HSLhsl(82, 76%, 61%)
HSVhsv(82, 65%, 91%)
CMYKcmyk(24.2%, 0%, 65.4%, 9.4%)
CIE-LABlab(85.43, -39.83, 65.15)
CIE-LCHlch(85.43, 76.36, 121.44°)
OKLaboklab(86.08% -0.1135 0.1484)
OKLCHoklch(86.08% 0.187 127.4)
XYZxyz(47.7031, 66.8441, 17.9768)
Luminance0.6684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE750 #8850E7
analogous
#E7D450 #AFE750 #63E750
triadic
#AFE750 #50AFE7 #E750AF
tetradic
#AFE750 #50E7D4 #8850E7 #E75063
square
#AFE750 #50E7D4 #8850E7 #E75063
split-complementary
#AFE750 #5063E7 #D450E7
monochromatic
#71A617 #95DC1E #AFE750 #C8EE86 #E0F6BC

Accessibility & contrast

On white

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

On black

14.37
#AFE750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE750
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE750#FFFFFF#000000##000000
##AFE7501.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83B
Deuteranopia (green-blind)
#EBD45C
Tritanopia (blue-blind)
#B5DDC8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe750;
/* rgb */ color: rgb(175, 231, 80);
/* oklch */ color: oklch(86.1% 0.187 127.4);
Tailwind
colors: {
  custom: {
    50: '#caef88',
    500: '#afe750',
    950: '#000000',
  },
}
SCSS
$custom: #afe750;
$custom-light: #caef88;
$custom-dark: #000000;
JSON
{
  "hex": "#afe750",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 80
  },
  "hsl": {
    "h": 82.252,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86079,
    "c": 0.1868,
    "h": 127.4
  },
  "luminance": 0.66845
}

Semantic roles & 50–950 ramp

primary
#AFE750
secondary
#5F33A8
accent
#0DD859
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE750

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

Preview Lab → · Contrast checker → · Palette generator →

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