#AFCE4C#AFCE4C

#AFCE4C is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.3% C 0.159 H 121.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#AFCE4C
RGBrgb(175, 206, 76)
HSLhsl(74, 57%, 55%)
HSVhsv(74, 63%, 81%)
CMYKcmyk(15%, 0%, 63.1%, 19.2%)
CIE-LABlab(78.33, -28.64, 59.23)
CIE-LCHlch(78.33, 65.79, 115.81°)
OKLaboklab(80.34% -0.0829 0.1354)
OKLCHoklch(80.34% 0.159 121.5)
XYZxyz(41.0555, 53.7784, 15.0535)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE4C #6B4CCE
analogous
#CEAC4C #AFCE4C #6ECE4C
triadic
#AFCE4C #4CAFCE #CE4CAF
tetradic
#AFCE4C #4CCEAC #6B4CCE #CE4C6E
square
#AFCE4C #4CCEAC #6B4CCE #CE4C6E
split-complementary
#AFCE4C #4C6ECE #AC4CCE
monochromatic
#687D22 #8FAD2F #AFCE4C #C4DB7C #DAE8AC

Accessibility & contrast

On white

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

On black

11.76
#AFCE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE4C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE4C#FFFFFF#000000##000000
##AFCE4C1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23C
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#B8C4B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce4c;
/* rgb */ color: rgb(175, 206, 76);
/* oklch */ color: oklch(80.3% 0.159 121.5);
Tailwind
colors: {
  custom: {
    50: '#cadd84',
    500: '#afce4c',
    950: '#000000',
  },
}
SCSS
$custom: #afce4c;
$custom-light: #cadd84;
$custom-dark: #000000;
JSON
{
  "hex": "#afce4c",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 76
  },
  "hsl": {
    "h": 74.308,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80338,
    "c": 0.15874,
    "h": 121.5
  },
  "luminance": 0.53778
}

Semantic roles & 50–950 ramp

primary
#AFCE4C
secondary
#4B3985
accent
#48E06C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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