#AFCE72#AFCE72

#AFCE72 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.8% C 0.124 H 124.4°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#AFCE72
RGBrgb(175, 206, 114)
HSLhsl(80, 48%, 63%)
HSVhsv(80, 45%, 81%)
CMYKcmyk(15%, 0%, 44.7%, 19.2%)
CIE-LABlab(78.74, -25.14, 42.23)
CIE-LCHlch(78.74, 49.15, 120.77°)
OKLaboklab(80.79% -0.0698 0.1021)
OKLCHoklch(80.79% 0.124 124.4)
XYZxyz(42.7877, 54.4712, 24.1761)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE72 #9172CE
analogous
#CEBF72 #AFCE72 #81CE72
triadic
#AFCE72 #72AFCE #CE72AF
tetradic
#AFCE72 #72CEBF #9172CE #CE7281
square
#AFCE72 #72CEBF #9172CE #CE7281
split-complementary
#AFCE72 #7281CE #BF72CE
monochromatic
#729333 #95BE45 #AFCE72 #C9DE9F #E3EECD

Accessibility & contrast

On white

1.77
#AFCE72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#AFCE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE72
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE72#FFFFFF#000000##000000
##AFCE721.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46B
Deuteranopia (green-blind)
#D3C377
Tritanopia (blue-blind)
#B5C6B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afce72;
/* rgb */ color: rgb(175, 206, 114);
/* oklch */ color: oklch(80.8% 0.124 124.4);
Tailwind
colors: {
  custom: {
    50: '#c8dd9c',
    500: '#afce72',
    950: '#000000',
  },
}
SCSS
$custom: #afce72;
$custom-light: #c8dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afce72",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 114
  },
  "hsl": {
    "h": 80.217,
    "s": 48.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80793,
    "c": 0.12364,
    "h": 124.4
  },
  "luminance": 0.54471
}

Semantic roles & 50–950 ramp

primary
#AFCE72
secondary
#654B99
accent
#2ABC5B
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCE72

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

Preview Lab → · Contrast checker → · Palette generator →

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