#AFCE56#AFCE56

#AFCE56 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.4% C 0.151 H 122.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#AFCE56
RGBrgb(175, 206, 86)
HSLhsl(76, 55%, 57%)
HSVhsv(76, 58%, 81%)
CMYKcmyk(15%, 0%, 58.3%, 19.2%)
CIE-LABlab(78.42, -27.87, 55.04)
CIE-LCHlch(78.42, 61.69, 116.86°)
OKLaboklab(80.44% -0.0798 0.1277)
OKLCHoklch(80.44% 0.151 122)
XYZxyz(41.4306, 53.9284, 17.0289)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE56 #7556CE
analogous
#CEB156 #AFCE56 #73CE56
triadic
#AFCE56 #56AFCE #CE56AF
tetradic
#AFCE56 #56CEB1 #7556CE #CE5673
square
#AFCE56 #56CEB1 #7556CE #CE5673
split-complementary
#AFCE56 #5673CE #B156CE
monochromatic
#6B8326 #92B334 #AFCE56 #C5DC85 #DCEAB5

Accessibility & contrast

On white

1.78
#AFCE56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#AFCE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE56
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE56#FFFFFF#000000##000000
##AFCE561.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C349
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#B7C4B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce56;
/* rgb */ color: rgb(175, 206, 86);
/* oklch */ color: oklch(80.4% 0.151 122.0);
Tailwind
colors: {
  custom: {
    50: '#c9dd8a',
    500: '#afce56',
    950: '#000000',
  },
}
SCSS
$custom: #afce56;
$custom-light: #c9dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afce56",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 86
  },
  "hsl": {
    "h": 75.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80437,
    "c": 0.15059,
    "h": 122
  },
  "luminance": 0.53928
}

Semantic roles & 50–950 ramp

primary
#AFCE56
secondary
#513E8B
accent
#49DE70
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCE56

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

Preview Lab → · Contrast checker → · Palette generator →

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