#AFE223#AFE223

#AFE223 is a very light, highly saturated yellow-green. Relative luminance 0.636; OKLCH L 84.7% C 0.204 H 124.8°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#AFE223
RGBrgb(175, 226, 35)
HSLhsl(76, 77%, 51%)
HSVhsv(76, 85%, 89%)
CMYKcmyk(22.6%, 0%, 84.5%, 11.4%)
CIE-LABlab(83.77, -39.83, 77.51)
CIE-LCHlch(83.77, 87.14, 117.20°)
OKLaboklab(84.66% -0.1167 0.1677)
OKLCHoklch(84.66% 0.204 124.8)
XYZxyz(45.1794, 63.6275, 11.4909)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE223 #5623E2
analogous
#E2B523 #AFE223 #4FE223
triadic
#AFE223 #23AFE2 #E223AF
tetradic
#AFE223 #23E2B5 #5623E2 #E2234F
square
#AFE223 #23E2B5 #5623E2 #E2234F
split-complementary
#AFE223 #234FE2 #B523E2
monochromatic
#5E7A10 #88B117 #AFE223 #C3E959 #D6F08F

Accessibility & contrast

On white

1.53
#AFE223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#AFE223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE223
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE223#FFFFFF#000000##000000
##AFE2231.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD300
Deuteranopia (green-blind)
#E8D03B
Tritanopia (blue-blind)
#B8D7C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe223;
/* rgb */ color: rgb(175, 226, 35);
/* oklch */ color: oklch(84.7% 0.204 124.8);
Tailwind
colors: {
  custom: {
    50: '#cceb73',
    500: '#afe223',
    950: '#000000',
  },
}
SCSS
$custom: #afe223;
$custom-light: #cceb73;
$custom-dark: #000000;
JSON
{
  "hex": "#afe223",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 35
  },
  "hsl": {
    "h": 76.021,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84664,
    "c": 0.20436,
    "h": 124.8
  },
  "luminance": 0.63628
}

Semantic roles & 50–950 ramp

primary
#AFE223
secondary
#3F2782
accent
#35F367
background
#FEFEFB
surface
#FBFDF1
border
#D4D5CB
text
#141609
muted
#83847D

Preview Lab

Preview with #AFE223

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

Preview Lab → · Contrast checker → · Palette generator →

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