#AFE754#AFE754

#AFE754 is a very light, vivid yellow-green. Relative luminance 0.669; OKLCH L 86.1% C 0.184 H 127.7°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#AFE754
RGBrgb(175, 231, 84)
HSLhsl(83, 75%, 62%)
HSVhsv(83, 64%, 91%)
CMYKcmyk(24.2%, 0%, 63.6%, 9.4%)
CIE-LABlab(85.46, -39.54, 63.60)
CIE-LCHlch(85.46, 74.89, 121.87°)
OKLaboklab(86.11% -0.1124 0.1456)
OKLCHoklch(86.11% 0.184 127.7)
XYZxyz(47.8553, 66.9050, 18.7785)
Luminance0.6691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE754 #8C54E7
analogous
#E7D654 #AFE754 #66E754
triadic
#AFE754 #54AFE7 #E754AF
tetradic
#AFE754 #54E7D6 #8C54E7 #E75466
square
#AFE754 #54E7D6 #8C54E7 #E75466
split-complementary
#AFE754 #5466E7 #D654E7
monochromatic
#72A918 #96DF1F #AFE754 #C8EF8A #E1F6BF

Accessibility & contrast

On white

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

On black

14.38
#AFE754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE754
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE754#FFFFFF#000000##000000
##AFE7541.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D841
Deuteranopia (green-blind)
#EAD45F
Tritanopia (blue-blind)
#B5DDC9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe754;
/* rgb */ color: rgb(175, 231, 84);
/* oklch */ color: oklch(86.1% 0.184 127.7);
Tailwind
colors: {
  custom: {
    50: '#caef8a',
    500: '#afe754',
    950: '#000000',
  },
}
SCSS
$custom: #afe754;
$custom-light: #caef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe754",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 84
  },
  "hsl": {
    "h": 82.857,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86114,
    "c": 0.18391,
    "h": 127.7
  },
  "luminance": 0.66906
}

Semantic roles & 50–950 ramp

primary
#AFE754
secondary
#6235AA
accent
#0ED85B
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE754

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

Preview Lab → · Contrast checker → · Palette generator →

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