#AFE68B#AFE68B

#AFE68B is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 86.6% C 0.132 H 133.8°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#AFE68B
RGBrgb(175, 230, 139)
HSLhsl(96, 65%, 72%)
HSVhsv(96, 40%, 90%)
CMYKcmyk(23.9%, 0%, 39.6%, 9.8%)
CIE-LABlab(85.79, -33.43, 38.77)
CIE-LCHlch(85.79, 51.19, 130.77°)
OKLaboklab(86.59% -0.0916 0.0953)
OKLCHoklch(86.59% 0.132 133.8)
XYZxyz(50.6351, 67.5704, 34.7957)
Luminance0.6757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE68B #C28BE6
analogous
#DCE68B #AFE68B #8BE695
triadic
#AFE68B #8BAFE6 #E68BAF
tetradic
#AFE68B #8BDCE6 #C28BE6 #E6958B
square
#AFE68B #8BDCE6 #C28BE6 #E6958B
split-complementary
#AFE68B #958BE6 #E68BDC
monochromatic
#6BCB2C #8CDB59 #AFE68B #D2F1BD #EEFAE6

Accessibility & contrast

On white

1.45
#AFE68B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#AFE68B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE68B
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE68B#FFFFFF#000000##000000
##AFE68B1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD984
Deuteranopia (green-blind)
#E4D590
Tritanopia (blue-blind)
#AFDFD0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe68b;
/* rgb */ color: rgb(175, 230, 139);
/* oklch */ color: oklch(86.6% 0.132 133.8);
Tailwind
colors: {
  custom: {
    50: '#c8eeae',
    500: '#afe68b',
    950: '#000000',
  },
}
SCSS
$custom: #afe68b;
$custom-light: #c8eeae;
$custom-dark: #000000;
JSON
{
  "hex": "#afe68b",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 139
  },
  "hsl": {
    "h": 96.264,
    "s": 64.539,
    "l": 72.353
  },
  "oklch": {
    "l": 0.86585,
    "c": 0.1322,
    "h": 133.8
  },
  "luminance": 0.67572
}

Semantic roles & 50–950 ramp

primary
#AFE68B
secondary
#9656BF
accent
#19CC85
background
#FDFFFD
surface
#F9FEF7
border
#D2D6D0
text
#131610
muted
#828581

Preview Lab

Preview with #AFE68B

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

Preview Lab → · Contrast checker → · Palette generator →

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