#AFCE4E#AFCE4E

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

Color values

HEX#AFCE4E
RGBrgb(175, 206, 78)
HSLhsl(75, 57%, 56%)
HSVhsv(75, 62%, 81%)
CMYKcmyk(15%, 0%, 62.1%, 19.2%)
CIE-LABlab(78.35, -28.50, 58.41)
CIE-LCHlch(78.35, 64.99, 116.01°)
OKLaboklab(80.36% -0.0823 0.1339)
OKLCHoklch(80.36% 0.157 121.6)
XYZxyz(41.1261, 53.8066, 15.4254)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE4E #6D4ECE
analogous
#CEAD4E #AFCE4E #6FCE4E
triadic
#AFCE4E #4EAFCE #CE4EAF
tetradic
#AFCE4E #4ECEAD #6D4ECE #CE4E6F
square
#AFCE4E #4ECEAD #6D4ECE #CE4E6F
split-complementary
#AFCE4E #4E6FCE #AD4ECE
monochromatic
#687F23 #90AE30 #AFCE4E #C5DB7E #DAE9AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE4E#FFFFFF#000000##000000
##AFCE4E1.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)
#DAC23E
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#B8C4B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce4e;
/* rgb */ color: rgb(175, 206, 78);
/* oklch */ color: oklch(80.4% 0.157 121.6);
Tailwind
colors: {
  custom: {
    50: '#cadd85',
    500: '#afce4e',
    950: '#000000',
  },
}
SCSS
$custom: #afce4e;
$custom-light: #cadd85;
$custom-dark: #000000;
JSON
{
  "hex": "#afce4e",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 78
  },
  "hsl": {
    "h": 74.531,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80357,
    "c": 0.15717,
    "h": 121.6
  },
  "luminance": 0.53807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFCE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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