#AFE685#AFE685

#AFE685 is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.5% C 0.138 H 132.8°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#AFE685
RGBrgb(175, 230, 133)
HSLhsl(94, 66%, 71%)
HSVhsv(94, 42%, 90%)
CMYKcmyk(23.9%, 0%, 42.2%, 9.8%)
CIE-LABlab(85.71, -34.20, 41.62)
CIE-LCHlch(85.71, 53.87, 129.41°)
OKLaboklab(86.49% -0.094 0.1017)
OKLCHoklch(86.49% 0.138 132.8)
XYZxyz(50.2087, 67.3998, 32.5499)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE685 #BC85E6
analogous
#DFE685 #AFE685 #85E68B
triadic
#AFE685 #85AFE6 #E685AF
tetradic
#AFE685 #85DFE6 #BC85E6 #E68B85
square
#AFE685 #85DFE6 #BC85E6 #E68B85
split-complementary
#AFE685 #8B85E6 #E685DF
monochromatic
#6EC829 #8EDC52 #AFE685 #D0F0B8 #EEFAE6

Accessibility & contrast

On white

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

On black

14.48
#AFE685 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE685
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE685#FFFFFF#000000##000000
##AFE6851.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD97E
Deuteranopia (green-blind)
#E5D58A
Tritanopia (blue-blind)
#B0DFCE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe685;
/* rgb */ color: rgb(175, 230, 133);
/* oklch */ color: oklch(86.5% 0.138 132.8);
Tailwind
colors: {
  custom: {
    50: '#c8eeaa',
    500: '#afe685',
    950: '#000000',
  },
}
SCSS
$custom: #afe685;
$custom-light: #c8eeaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe685",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 133
  },
  "hsl": {
    "h": 94.021,
    "s": 65.986,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86488,
    "c": 0.13844,
    "h": 132.8
  },
  "luminance": 0.67401
}

Semantic roles & 50–950 ramp

primary
#AFE685
secondary
#8F50BF
accent
#18CE7F
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE685

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

Preview Lab → · Contrast checker → · Palette generator →

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