#AFC23C#AFC23C

#AFC23C is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.156 H 117.2°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#AFC23C
RGBrgb(175, 194, 60)
HSLhsl(69, 53%, 50%)
HSVhsv(69, 69%, 76%)
CMYKcmyk(9.8%, 0%, 69.1%, 23.9%)
CIE-LABlab(74.84, -23.90, 61.94)
CIE-LCHlch(74.84, 66.39, 111.10°)
OKLaboklab(77.49% -0.0713 0.1387)
OKLCHoklch(77.49% 0.156 117.2)
XYZxyz(37.7874, 48.0242, 11.5531)
Luminance0.4802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC23C #4F3CC2
analogous
#C2923C #AFC23C #6CC23C
triadic
#AFC23C #3CAFC2 #C23CAF
tetradic
#AFC23C #3CC292 #4F3CC2 #C23C6C
square
#AFC23C #3CC292 #4F3CC2 #C23C6C
split-complementary
#AFC23C #3C6CC2 #923CC2
monochromatic
#5B651F #85932E #AFC23C #C2D16A #D5DF99

Accessibility & contrast

On white

1.98
#AFC23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#AFC23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC23C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC23C#FFFFFF#000000##000000
##AFC23C1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB827
Deuteranopia (green-blind)
#CDB946
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc23c;
/* rgb */ color: rgb(175, 194, 60);
/* oklch */ color: oklch(77.5% 0.156 117.2);
Tailwind
colors: {
  custom: {
    50: '#cad47a',
    500: '#afc23c',
    950: '#000000',
  },
}
SCSS
$custom: #afc23c;
$custom-light: #cad47a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc23c",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 68.507,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77491,
    "c": 0.15595,
    "h": 117.2
  },
  "luminance": 0.48024
}

Semantic roles & 50–950 ramp

primary
#AFC23C
secondary
#978FCB
accent
#4CDC60
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC23C

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

Preview Lab → · Contrast checker → · Palette generator →

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