#AFEB6A#AFEB6A

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

Color values

HEX#AFEB6A
RGBrgb(175, 235, 106)
HSLhsl(88, 76%, 67%)
HSVhsv(88, 55%, 92%)
CMYKcmyk(25.5%, 0%, 54.9%, 7.8%)
CIE-LABlab(86.79, -39.44, 55.69)
CIE-LCHlch(86.79, 68.24, 125.31°)
OKLaboklab(87.26% -0.1103 0.1311)
OKLCHoklch(87.26% 0.171 130.1)
XYZxyz(49.9886, 69.5700, 24.4275)
Luminance0.6957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB6A #A66AEB
analogous
#EBE66A #AFEB6A #6FEB6A
triadic
#AFEB6A #6AAFEB #EB6AAF
tetradic
#AFEB6A #6AEBE6 #A66AEB #EB6A6F
square
#AFEB6A #6AEBE6 #A66AEB #EB6A6F
split-complementary
#AFEB6A #6A6FEB #E66AEB
monochromatic
#73C11A #92E434 #AFEB6A #CCF2A0 #E9F9D6

Accessibility & contrast

On white

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

On black

14.91
#AFEB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB6A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB6A#FFFFFF#000000##000000
##AFEB6A1.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC5D
Deuteranopia (green-blind)
#ECD873
Tritanopia (blue-blind)
#B3E2CE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb6a;
/* rgb */ color: rgb(175, 235, 106);
/* oklch */ color: oklch(87.3% 0.171 130.1);
Tailwind
colors: {
  custom: {
    50: '#caf198',
    500: '#afeb6a',
    950: '#000000',
  },
}
SCSS
$custom: #afeb6a;
$custom-light: #caf198;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb6a",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 106
  },
  "hsl": {
    "h": 87.907,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87255,
    "c": 0.1713,
    "h": 130.1
  },
  "luminance": 0.69571
}

Semantic roles & 50–950 ramp

primary
#AFEB6A
secondary
#783ABF
accent
#0DD96C
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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