#AFE23D#AFE23D

#AFE23D is a very light, vivid yellow-green. Relative luminance 0.638; OKLCH L 84.8% C 0.193 H 125.6°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#AFE23D
RGBrgb(175, 226, 61)
HSLhsl(79, 74%, 56%)
HSVhsv(79, 73%, 89%)
CMYKcmyk(22.6%, 0%, 73%, 11.4%)
CIE-LABlab(83.88, -38.77, 70.49)
CIE-LCHlch(83.88, 80.45, 118.82°)
OKLaboklab(84.79% -0.1122 0.1568)
OKLCHoklch(84.79% 0.193 125.6)
XYZxyz(45.7182, 63.8430, 14.3283)
Luminance0.6384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE23D #703DE2
analogous
#E2C23D #AFE23D #5DE23D
triadic
#AFE23D #3DAFE2 #E23DAF
tetradic
#AFE23D #3DE2C2 #703DE2 #E23D5D
square
#AFE23D #3DE2C2 #703DE2 #E23D5D
split-complementary
#AFE23D #3D5DE2 #C23DE2
monochromatic
#6A8F15 #91C41D #AFE23D #C5EA72 #DBF2A7

Accessibility & contrast

On white

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

On black

13.77
#AFE23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE23D
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE23D#FFFFFF#000000##000000
##AFE23D1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED31B
Deuteranopia (green-blind)
#E7D04C
Tritanopia (blue-blind)
#B7D7C2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe23d;
/* rgb */ color: rgb(175, 226, 61);
/* oklch */ color: oklch(84.8% 0.193 125.6);
Tailwind
colors: {
  custom: {
    50: '#cbeb7e',
    500: '#afe23d',
    950: '#000000',
  },
}
SCSS
$custom: #afe23d;
$custom-light: #cbeb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe23d",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 61
  },
  "hsl": {
    "h": 78.545,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84791,
    "c": 0.19282,
    "h": 125.6
  },
  "luminance": 0.63844
}

Semantic roles & 50–950 ramp

primary
#AFE23D
secondary
#4E2F94
accent
#37F170
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE23D

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

Preview Lab → · Contrast checker → · Palette generator →

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