#AFCE4D#AFCE4D

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

Color values

HEX#AFCE4D
RGBrgb(175, 206, 77)
HSLhsl(74, 57%, 55%)
HSVhsv(74, 63%, 81%)
CMYKcmyk(15%, 0%, 62.6%, 19.2%)
CIE-LABlab(78.34, -28.57, 58.82)
CIE-LCHlch(78.34, 65.39, 115.91°)
OKLaboklab(80.35% -0.0826 0.1346)
OKLCHoklch(80.35% 0.158 121.5)
XYZxyz(41.0905, 53.7924, 15.2380)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE4D #6C4DCE
analogous
#CEAD4D #AFCE4D #6ECE4D
triadic
#AFCE4D #4DAFCE #CE4DAF
tetradic
#AFCE4D #4DCEAD #6C4DCE #CE4D6E
square
#AFCE4D #4DCEAD #6C4DCE #CE4D6E
split-complementary
#AFCE4D #4D6ECE #AD4DCE
monochromatic
#687E23 #90AE30 #AFCE4D #C5DB7D #DAE8AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE4D#FFFFFF#000000##000000
##AFCE4D1.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)
#DAC23D
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#B8C4B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce4d;
/* rgb */ color: rgb(175, 206, 77);
/* oklch */ color: oklch(80.3% 0.158 121.5);
Tailwind
colors: {
  custom: {
    50: '#cadd84',
    500: '#afce4d',
    950: '#000000',
  },
}
SCSS
$custom: #afce4d;
$custom-light: #cadd84;
$custom-dark: #000000;
JSON
{
  "hex": "#afce4d",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 77
  },
  "hsl": {
    "h": 74.419,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80347,
    "c": 0.15796,
    "h": 121.5
  },
  "luminance": 0.53792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFCE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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