#AFE671#AFE671

#AFE671 is a very light, vivid yellow-green. Relative luminance 0.669; OKLCH L 86.2% C 0.158 H 130.0°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#AFE671
RGBrgb(175, 230, 113)
HSLhsl(88, 70%, 67%)
HSVhsv(88, 51%, 90%)
CMYKcmyk(23.9%, 0%, 50.9%, 9.8%)
CIE-LABlab(85.45, -36.50, 50.91)
CIE-LCHlch(85.45, 62.64, 125.64°)
OKLaboklab(86.2% -0.1016 0.1212)
OKLCHoklch(86.2% 0.158 130)
XYZxyz(48.9561, 66.8988, 25.9530)
Luminance0.6690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE671 #A871E6
analogous
#E6E271 #AFE671 #75E671
triadic
#AFE671 #71AFE6 #E671AF
tetradic
#AFE671 #71E6E2 #A871E6 #E67175
square
#AFE671 #71E6E2 #A871E6 #E67175
split-complementary
#AFE671 #7175E6 #E271E6
monochromatic
#73BC21 #92DD3D #AFE671 #CCEFA5 #EAF8D9

Accessibility & contrast

On white

1.46
#AFE671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#AFE671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE671
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE671#FFFFFF#000000##000000
##AFE6711.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD866
Deuteranopia (green-blind)
#E7D478
Tritanopia (blue-blind)
#B2DECB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe671;
/* rgb */ color: rgb(175, 230, 113);
/* oklch */ color: oklch(86.2% 0.158 130.0);
Tailwind
colors: {
  custom: {
    50: '#c9ee9c',
    500: '#afe671',
    950: '#000000',
  },
}
SCSS
$custom: #afe671;
$custom-light: #c9ee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe671",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 88.205,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86202,
    "c": 0.15818,
    "h": 130
  },
  "luminance": 0.669
}

Semantic roles & 50–950 ramp

primary
#AFE671
secondary
#7A40BB
accent
#13D26D
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE671

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

Preview Lab → · Contrast checker → · Palette generator →

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