#AFEC6C#AFEC6C

#AFEC6C is a very light, vivid yellow-green. Relative luminance 0.702; OKLCH L 87.5% C 0.171 H 130.4°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#AFEC6C
RGBrgb(175, 236, 108)
HSLhsl(89, 77%, 67%)
HSVhsv(89, 54%, 93%)
CMYKcmyk(25.8%, 0%, 54.2%, 7.5%)
CIE-LABlab(87.09, -39.70, 55.14)
CIE-LCHlch(87.09, 67.95, 125.75°)
OKLaboklab(87.51% -0.1108 0.1301)
OKLCHoklch(87.51% 0.171 130.4)
XYZxyz(50.3809, 70.1863, 25.0774)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC6C #A96CEC
analogous
#ECE96C #AFEC6C #6FEC6C
triadic
#AFEC6C #6CAFEC #EC6CAF
tetradic
#AFEC6C #6CECE9 #A96CEC #EC6C6F
square
#AFEC6C #6CECE9 #A96CEC #EC6C6F
split-complementary
#AFEC6C #6C6FEC #E96CEC
monochromatic
#73C419 #92E536 #AFEC6C #CCF3A2 #EAFAD8

Accessibility & contrast

On white

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

On black

15.04
#AFEC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC6C
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC6C#FFFFFF#000000##000000
##AFEC6C1.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD60
Deuteranopia (green-blind)
#EDD974
Tritanopia (blue-blind)
#B2E3D0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec6c;
/* rgb */ color: rgb(175, 236, 108);
/* oklch */ color: oklch(87.5% 0.171 130.4);
Tailwind
colors: {
  custom: {
    50: '#caf299',
    500: '#afec6c',
    950: '#000000',
  },
}
SCSS
$custom: #afec6c;
$custom-light: #caf299;
$custom-dark: #000000;
JSON
{
  "hex": "#afec6c",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 108
  },
  "hsl": {
    "h": 88.594,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87507,
    "c": 0.17088,
    "h": 130.4
  },
  "luminance": 0.70188
}

Semantic roles & 50–950 ramp

primary
#AFEC6C
secondary
#7B3AC2
accent
#0CD96E
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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