#AFEC5C#AFEC5C

#AFEC5C is a very light, vivid yellow-green. Relative luminance 0.699; OKLCH L 87.3% C 0.184 H 129.1°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#AFEC5C
RGBrgb(175, 236, 92)
HSLhsl(85, 79%, 64%)
HSVhsv(85, 61%, 93%)
CMYKcmyk(25.8%, 0%, 61%, 7.5%)
CIE-LABlab(86.94, -41.13, 61.93)
CIE-LCHlch(86.94, 74.34, 123.59°)
OKLaboklab(87.34% -0.1161 0.143)
OKLCHoklch(87.34% 0.184 129.1)
XYZxyz(49.6062, 69.8764, 20.9971)
Luminance0.6988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC5C #995CEC
analogous
#ECE15C #AFEC5C #67EC5C
triadic
#AFEC5C #5CAFEC #EC5CAF
tetradic
#AFEC5C #5CECE1 #995CEC #EC5C67
square
#AFEC5C #5CECE1 #995CEC #EC5C67
split-complementary
#AFEC5C #5C67EC #E15CEC
monochromatic
#73B815 #94E625 #AFEC5C #CAF293 #E5F9CA

Accessibility & contrast

On white

1.40
#AFEC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#AFEC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC5C
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC5C#FFFFFF#000000##000000
##AFEC5C1.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC4B
Deuteranopia (green-blind)
#EED867
Tritanopia (blue-blind)
#B4E2CE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec5c;
/* rgb */ color: rgb(175, 236, 92);
/* oklch */ color: oklch(87.3% 0.184 129.1);
Tailwind
colors: {
  custom: {
    50: '#caf290',
    500: '#afec5c',
    950: '#000000',
  },
}
SCSS
$custom: #afec5c;
$custom-light: #caf290;
$custom-dark: #000000;
JSON
{
  "hex": "#afec5c",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 85.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87335,
    "c": 0.18419,
    "h": 129.1
  },
  "luminance": 0.69878
}

Semantic roles & 50–950 ramp

primary
#AFEC5C
secondary
#6C35B8
accent
#0ADB63
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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