#AFCE3C#AFCE3C

#AFCE3C is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.2% C 0.170 H 120.9°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#AFCE3C
RGBrgb(175, 206, 60)
HSLhsl(73, 60%, 52%)
HSVhsv(73, 71%, 81%)
CMYKcmyk(15%, 0%, 70.9%, 19.2%)
CIE-LABlab(78.22, -29.66, 65.29)
CIE-LCHlch(78.22, 71.71, 114.43°)
OKLaboklab(80.21% -0.0872 0.1458)
OKLCHoklch(80.21% 0.17 120.9)
XYZxyz(40.5668, 53.5829, 12.4795)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE3C #5B3CCE
analogous
#CEA43C #AFCE3C #66CE3C
triadic
#AFCE3C #3CAFCE #CE3CAF
tetradic
#AFCE3C #3CCEA4 #5B3CCE #CE3C66
square
#AFCE3C #3CCEA4 #5B3CCE #CE3C66
split-complementary
#AFCE3C #3C66CE #A43CCE
monochromatic
#61731D #8AA429 #AFCE3C #C3DA6D #D7E79E

Accessibility & contrast

On white

1.79
#AFCE3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#AFCE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE3C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE3C#FFFFFF#000000##000000
##AFCE3C1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC222
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#B9C3B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afce3c;
/* rgb */ color: rgb(175, 206, 60);
/* oklch */ color: oklch(80.2% 0.170 120.9);
Tailwind
colors: {
  custom: {
    50: '#cadd7b',
    500: '#afce3c',
    950: '#000000',
  },
}
SCSS
$custom: #afce3c;
$custom-light: #cadd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afce3c",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 60
  },
  "hsl": {
    "h": 72.74,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80209,
    "c": 0.16987,
    "h": 120.9
  },
  "luminance": 0.53583
}

Semantic roles & 50–950 ramp

primary
#AFCE3C
secondary
#42337C
accent
#45E366
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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