#AFE68D#AFE68D

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

Color values

HEX#AFE68D
RGBrgb(175, 230, 141)
HSLhsl(97, 64%, 73%)
HSVhsv(97, 39%, 90%)
CMYKcmyk(23.9%, 0%, 38.7%, 9.8%)
CIE-LABlab(85.82, -33.16, 37.81)
CIE-LCHlch(85.82, 50.29, 131.25°)
OKLaboklab(86.62% -0.0908 0.0932)
OKLCHoklch(86.62% 0.13 134.2)
XYZxyz(50.7826, 67.6294, 35.5723)
Luminance0.6763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE68D #C48DE6
analogous
#DBE68D #AFE68D #8DE698
triadic
#AFE68D #8DAFE6 #E68DAF
tetradic
#AFE68D #8DDBE6 #C48DE6 #E6988D
square
#AFE68D #8DDBE6 #C48DE6 #E6988D
split-complementary
#AFE68D #988DE6 #E68DDB
monochromatic
#6ACC2D #8CDB5B #AFE68D #D2F1BF #EDF9E6

Accessibility & contrast

On white

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

On black

14.53
#AFE68D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE68D
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE68D#FFFFFF#000000##000000
##AFE68D1.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDA87
Deuteranopia (green-blind)
#E4D592
Tritanopia (blue-blind)
#AFE0D0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe68d;
/* rgb */ color: rgb(175, 230, 141);
/* oklch */ color: oklch(86.6% 0.130 134.2);
Tailwind
colors: {
  custom: {
    50: '#c8eeaf',
    500: '#afe68d',
    950: '#000000',
  },
}
SCSS
$custom: #afe68d;
$custom-light: #c8eeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afe68d",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 141
  },
  "hsl": {
    "h": 97.079,
    "s": 64.029,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86618,
    "c": 0.13009,
    "h": 134.2
  },
  "luminance": 0.67631
}

Semantic roles & 50–950 ramp

primary
#AFE68D
secondary
#9858BF
accent
#1ACC88
background
#FDFFFD
surface
#F9FEF7
border
#D2D6D0
text
#131610
muted
#828581

Preview Lab

Preview with #AFE68D

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

Preview Lab → · Contrast checker → · Palette generator →

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