#AFE185#AFE185

#AFE185 is a very light, vivid yellow-green. Relative luminance 0.647; OKLCH L 85.4% C 0.131 H 131.9°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#AFE185
RGBrgb(175, 225, 133)
HSLhsl(93, 61%, 70%)
HSVhsv(93, 41%, 88%)
CMYKcmyk(22.2%, 0%, 40.9%, 11.8%)
CIE-LABlab(84.31, -31.88, 39.84)
CIE-LCHlch(84.31, 51.03, 128.67°)
OKLaboklab(85.36% -0.0875 0.0976)
OKLCHoklch(85.36% 0.131 131.9)
XYZxyz(48.8372, 64.6568, 32.0927)
Luminance0.6466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE185 #B785E1
analogous
#DDE185 #AFE185 #85E189
triadic
#AFE185 #85AFE1 #E185AF
tetradic
#AFE185 #85DDE1 #B785E1 #E18985
square
#AFE185 #85DDE1 #B785E1 #E18985
split-complementary
#AFE185 #8985E1 #E185DD
monochromatic
#70BD2F #8FD554 #AFE185 #CFEDB6 #EFF9E6

Accessibility & contrast

On white

1.51
#AFE185 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#AFE185 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE185
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE185#FFFFFF#000000##000000
##AFE1851.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D57E
Deuteranopia (green-blind)
#E1D18A
Tritanopia (blue-blind)
#B1DACA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe185;
/* rgb */ color: rgb(175, 225, 133);
/* oklch */ color: oklch(85.4% 0.131 131.9);
Tailwind
colors: {
  custom: {
    50: '#c8eaaa',
    500: '#afe185',
    950: '#000000',
  },
}
SCSS
$custom: #afe185;
$custom-light: #c8eaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe185",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 133
  },
  "hsl": {
    "h": 92.609,
    "s": 60.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8536,
    "c": 0.1311,
    "h": 131.9
  },
  "luminance": 0.64658
}

Semantic roles & 50–950 ramp

primary
#AFE185
secondary
#8A51B9
accent
#1DC87A
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE185

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

Preview Lab → · Contrast checker → · Palette generator →

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