#AFCE39#AFCE39

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

Color values

HEX#AFCE39
RGBrgb(175, 206, 57)
HSLhsl(72, 60%, 52%)
HSVhsv(72, 72%, 81%)
CMYKcmyk(15%, 0%, 72.3%, 19.2%)
CIE-LABlab(78.20, -29.82, 66.33)
CIE-LCHlch(78.20, 72.72, 114.21°)
OKLaboklab(80.19% -0.0879 0.1475)
OKLCHoklch(80.19% 0.172 120.8)
XYZxyz(40.4897, 53.5521, 12.0736)
Luminance0.5355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE39 #5839CE
analogous
#CEA339 #AFCE39 #65CE39
triadic
#AFCE39 #39AFCE #CE39AF
tetradic
#AFCE39 #39CEA3 #5839CE #CE3965
square
#AFCE39 #39CEA3 #5839CE #CE3965
split-complementary
#AFCE39 #3965CE #A339CE
monochromatic
#5F711C #88A228 #AFCE39 #C3DA6A #D7E69B

Accessibility & contrast

On white

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

On black

11.71
#AFCE39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE39
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE39#FFFFFF#000000##000000
##AFCE391.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21C
Deuteranopia (green-blind)
#D7C246
Tritanopia (blue-blind)
#B9C3B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afce39;
/* rgb */ color: rgb(175, 206, 57);
/* oklch */ color: oklch(80.2% 0.172 120.8);
Tailwind
colors: {
  custom: {
    50: '#cadd79',
    500: '#afce39',
    950: '#000000',
  },
}
SCSS
$custom: #afce39;
$custom-light: #cadd79;
$custom-dark: #000000;
JSON
{
  "hex": "#afce39",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 57
  },
  "hsl": {
    "h": 72.483,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80189,
    "c": 0.17169,
    "h": 120.8
  },
  "luminance": 0.53552
}

Semantic roles & 50–950 ramp

primary
#AFCE39
secondary
#40317A
accent
#44E365
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCE39

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

Preview Lab → · Contrast checker → · Palette generator →

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