#AFD23E#AFD23E

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

Color values

HEX#AFD23E
RGBrgb(175, 210, 62)
HSLhsl(74, 62%, 53%)
HSVhsv(74, 70%, 82%)
CMYKcmyk(16.7%, 0%, 70.5%, 17.6%)
CIE-LABlab(79.36, -31.42, 65.71)
CIE-LCHlch(79.36, 72.83, 115.56°)
OKLaboklab(81.13% -0.0919 0.147)
OKLCHoklch(81.13% 0.173 122)
XYZxyz(41.5959, 55.5549, 13.0883)
Luminance0.5555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD23E #613ED2
analogous
#D2AB3E #AFD23E #65D23E
triadic
#AFD23E #3EAFD2 #D23EAF
tetradic
#AFD23E #3ED2AB #613ED2 #D23E65
square
#AFD23E #3ED2AB #613ED2 #D23E65
split-complementary
#AFD23E #3E65D2 #AB3ED2
monochromatic
#63791C #8CAB28 #AFD23E #C4DE70 #D8E9A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD23E#FFFFFF#000000##000000
##AFD23E1.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)
#DEC524
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#B8C7B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd23e;
/* rgb */ color: rgb(175, 210, 62);
/* oklch */ color: oklch(81.1% 0.173 122.0);
Tailwind
colors: {
  custom: {
    50: '#cadf7c',
    500: '#afd23e',
    950: '#000000',
  },
}
SCSS
$custom: #afd23e;
$custom-light: #cadf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd23e",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 62
  },
  "hsl": {
    "h": 74.189,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81134,
    "c": 0.17333,
    "h": 122
  },
  "luminance": 0.55555
}

Semantic roles & 50–950 ramp

primary
#AFD23E
secondary
#453381
accent
#43E569
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD23E

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

Preview Lab → · Contrast checker → · Palette generator →

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