#AFEB6C#AFEB6C

#AFEB6C is a very light, vivid yellow-green. Relative luminance 0.696; OKLCH L 87.3% C 0.170 H 130.3°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#AFEB6C
RGBrgb(175, 235, 108)
HSLhsl(88, 76%, 67%)
HSVhsv(88, 54%, 92%)
CMYKcmyk(25.5%, 0%, 54%, 7.8%)
CIE-LABlab(86.81, -39.25, 54.81)
CIE-LCHlch(86.81, 67.42, 125.61°)
OKLaboklab(87.28% -0.1096 0.1294)
OKLCHoklch(87.28% 0.17 130.3)
XYZxyz(50.0938, 69.6121, 24.9817)
Luminance0.6961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB6C #A86CEB
analogous
#EBE76C #AFEB6C #70EB6C
triadic
#AFEB6C #6CAFEB #EB6CAF
tetradic
#AFEB6C #6CEBE7 #A86CEB #EB6C70
square
#AFEB6C #6CEBE7 #A86CEB #EB6C70
split-complementary
#AFEB6C #6C70EB #E76CEB
monochromatic
#73C21A #92E436 #AFEB6C #CCF2A2 #EAFAD8

Accessibility & contrast

On white

1.41
#AFEB6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#AFEB6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB6C
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB6C#FFFFFF#000000##000000
##AFEB6C1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC60
Deuteranopia (green-blind)
#ECD874
Tritanopia (blue-blind)
#B2E2CF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb6c;
/* rgb */ color: rgb(175, 235, 108);
/* oklch */ color: oklch(87.3% 0.170 130.3);
Tailwind
colors: {
  custom: {
    50: '#caf199',
    500: '#afeb6c',
    950: '#000000',
  },
}
SCSS
$custom: #afeb6c;
$custom-light: #caf199;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb6c",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 108
  },
  "hsl": {
    "h": 88.346,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87279,
    "c": 0.16954,
    "h": 130.3
  },
  "luminance": 0.69613
}

Semantic roles & 50–950 ramp

primary
#AFEB6C
secondary
#7A3BC0
accent
#0DD86D
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEB6C

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

Preview Lab → · Contrast checker → · Palette generator →

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