#AFD23C#AFD23C

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

Color values

HEX#AFD23C
RGBrgb(175, 210, 60)
HSLhsl(74, 63%, 53%)
HSVhsv(74, 71%, 82%)
CMYKcmyk(16.7%, 0%, 71.4%, 17.6%)
CIE-LABlab(79.35, -31.53, 66.41)
CIE-LCHlch(79.35, 73.51, 115.40°)
OKLaboklab(81.12% -0.0924 0.1481)
OKLCHoklch(81.12% 0.175 121.9)
XYZxyz(41.5420, 55.5333, 12.8046)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD23C #5F3CD2
analogous
#D2AA3C #AFD23C #64D23C
triadic
#AFD23C #3CAFD2 #D23CAF
tetradic
#AFD23C #3CD2AA #5F3CD2 #D23C64
square
#AFD23C #3CD2AA #5F3CD2 #D23C64
split-complementary
#AFD23C #3C64D2 #AA3CD2
monochromatic
#62781C #8BAA27 #AFD23C #C3DD6E #D8E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD23C#FFFFFF#000000##000000
##AFD23C1.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)
#DFC521
Deuteranopia (green-blind)
#DAC549
Tritanopia (blue-blind)
#B8C7B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd23c;
/* rgb */ color: rgb(175, 210, 60);
/* oklch */ color: oklch(81.1% 0.175 121.9);
Tailwind
colors: {
  custom: {
    50: '#cadf7b',
    500: '#afd23c',
    950: '#000000',
  },
}
SCSS
$custom: #afd23c;
$custom-light: #cadf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd23c",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 74,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8112,
    "c": 0.17456,
    "h": 121.9
  },
  "luminance": 0.55533
}

Semantic roles & 50–950 ramp

primary
#AFD23C
secondary
#443280
accent
#42E668
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD23C

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

Preview Lab → · Contrast checker → · Palette generator →

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