#AFD23B#AFD23B

#AFD23B 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.10:1 contrast (WCAG AA passes).

Color values

HEX#AFD23B
RGBrgb(175, 210, 59)
HSLhsl(74, 63%, 53%)
HSVhsv(74, 72%, 82%)
CMYKcmyk(16.7%, 0%, 71.9%, 17.6%)
CIE-LABlab(79.34, -31.59, 66.75)
CIE-LCHlch(79.34, 73.84, 115.32°)
OKLaboklab(81.11% -0.0926 0.1487)
OKLCHoklch(81.11% 0.175 121.9)
XYZxyz(41.5158, 55.5228, 12.6667)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD23B #5E3BD2
analogous
#D2A93B #AFD23B #64D23B
triadic
#AFD23B #3BAFD2 #D23BAF
tetradic
#AFD23B #3BD2A9 #5E3BD2 #D23B64
square
#AFD23B #3BD2A9 #5E3BD2 #D23B64
split-complementary
#AFD23B #3B64D2 #A93BD2
monochromatic
#62771B #8BA927 #AFD23B #C3DD6D #D8E99F

Accessibility & contrast

On white

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

On black

12.10
#AFD23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD23B
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD23B#FFFFFF#000000##000000
##AFD23B1.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd23b;
/* rgb */ color: rgb(175, 210, 59);
/* oklch */ color: oklch(81.1% 0.175 121.9);
Tailwind
colors: {
  custom: {
    50: '#cadf7b',
    500: '#afd23b',
    950: '#000000',
  },
}
SCSS
$custom: #afd23b;
$custom-light: #cadf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd23b",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 73.907,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81114,
    "c": 0.17516,
    "h": 121.9
  },
  "luminance": 0.55523
}

Semantic roles & 50–950 ramp

primary
#AFD23B
secondary
#44327F
accent
#42E668
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD23B

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

Preview Lab → · Contrast checker → · Palette generator →

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