#AFD23D#AFD23D

#AFD23D is a light, vivid yellow-green. Relative luminance 0.555; OKLCH L 81.1% C 0.174 H 122.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#AFD23D
RGBrgb(175, 210, 61)
HSLhsl(74, 62%, 53%)
HSVhsv(74, 71%, 82%)
CMYKcmyk(16.7%, 0%, 71%, 17.6%)
CIE-LABlab(79.35, -31.48, 66.06)
CIE-LCHlch(79.35, 73.18, 115.48°)
OKLaboklab(81.13% -0.0921 0.1475)
OKLCHoklch(81.13% 0.174 122)
XYZxyz(41.5687, 55.5440, 12.9451)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD23D #603DD2
analogous
#D2AA3D #AFD23D #64D23D
triadic
#AFD23D #3DAFD2 #D23DAF
tetradic
#AFD23D #3DD2AA #603DD2 #D23D64
square
#AFD23D #3DD2AA #603DD2 #D23D64
split-complementary
#AFD23D #3D64D2 #AA3DD2
monochromatic
#63791C #8CAA28 #AFD23D #C3DE6F #D8E9A0

Accessibility & contrast

On white

1.73
#AFD23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#AFD23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD23D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD23D#FFFFFF#000000##000000
##AFD23D1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC523
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#B8C7B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd23d;
/* rgb */ color: rgb(175, 210, 61);
/* oklch */ color: oklch(81.1% 0.174 122.0);
Tailwind
colors: {
  custom: {
    50: '#cadf7c',
    500: '#afd23d',
    950: '#000000',
  },
}
SCSS
$custom: #afd23d;
$custom-light: #cadf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd23d",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 61
  },
  "hsl": {
    "h": 74.094,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81127,
    "c": 0.17395,
    "h": 122
  },
  "luminance": 0.55544
}

Semantic roles & 50–950 ramp

primary
#AFD23D
secondary
#453281
accent
#42E569
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD23D

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

Preview Lab → · Contrast checker → · Palette generator →

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