#AFD23F#AFD23F

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

Color values

HEX#AFD23F
RGBrgb(175, 210, 63)
HSLhsl(74, 62%, 54%)
HSVhsv(74, 70%, 82%)
CMYKcmyk(16.7%, 0%, 70%, 17.6%)
CIE-LABlab(79.37, -31.36, 65.35)
CIE-LCHlch(79.37, 72.49, 115.64°)
OKLaboklab(81.14% -0.0916 0.1464)
OKLCHoklch(81.14% 0.173 122.1)
XYZxyz(41.6236, 55.5659, 13.2341)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD23F #623FD2
analogous
#D2AB3F #AFD23F #65D23F
triadic
#AFD23F #3FAFD2 #D23FAF
tetradic
#AFD23F #3FD2AB #623FD2 #D23F65
square
#AFD23F #3FD2AB #623FD2 #D23F65
split-complementary
#AFD23F #3F65D2 #AB3FD2
monochromatic
#647A1D #8CAC28 #AFD23F #C4DE71 #D8E9A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD23F#FFFFFF#000000##000000
##AFD23F1.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)
#DEC526
Deuteranopia (green-blind)
#DAC54B
Tritanopia (blue-blind)
#B8C7B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd23f;
/* rgb */ color: rgb(175, 210, 63);
/* oklch */ color: oklch(81.1% 0.173 122.1);
Tailwind
colors: {
  custom: {
    50: '#cadf7d',
    500: '#afd23f',
    950: '#000000',
  },
}
SCSS
$custom: #afd23f;
$custom-light: #cadf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd23f",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 74.286,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81141,
    "c": 0.1727,
    "h": 122.1
  },
  "luminance": 0.55566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD23F

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

Preview Lab → · Contrast checker → · Palette generator →

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