#AFE672#AFE672

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

Color values

HEX#AFE672
RGBrgb(175, 230, 114)
HSLhsl(88, 70%, 67%)
HSVhsv(88, 50%, 90%)
CMYKcmyk(23.9%, 0%, 50.4%, 9.8%)
CIE-LABlab(85.46, -36.39, 50.46)
CIE-LCHlch(85.46, 62.21, 125.80°)
OKLaboklab(86.22% -0.1012 0.1203)
OKLCHoklch(86.22% 0.157 130.1)
XYZxyz(49.0127, 66.9214, 26.2512)
Luminance0.6692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE672 #A972E6
analogous
#E6E372 #AFE672 #75E672
triadic
#AFE672 #72AFE6 #E672AF
tetradic
#AFE672 #72E6E3 #A972E6 #E67275
square
#AFE672 #72E6E3 #A972E6 #E67275
split-complementary
#AFE672 #7275E6 #E372E6
monochromatic
#73BC21 #92DD3E #AFE672 #CCEFA6 #EAF8DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE672#FFFFFF#000000##000000
##AFE6721.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)
#EFD868
Deuteranopia (green-blind)
#E7D479
Tritanopia (blue-blind)
#B2DECB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe672;
/* rgb */ color: rgb(175, 230, 114);
/* oklch */ color: oklch(86.2% 0.157 130.1);
Tailwind
colors: {
  custom: {
    50: '#c9ee9d',
    500: '#afe672',
    950: '#000000',
  },
}
SCSS
$custom: #afe672;
$custom-light: #c9ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe672",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 88.448,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86215,
    "c": 0.15723,
    "h": 130.1
  },
  "luminance": 0.66922
}

Semantic roles & 50–950 ramp

primary
#AFE672
secondary
#7B40BC
accent
#14D26E
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE672

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

Preview Lab → · Contrast checker → · Palette generator →

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