#AFE276#AFE276

#AFE276 is a very light, vivid yellow-green. Relative luminance 0.648; OKLCH L 85.4% C 0.148 H 129.8°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#AFE276
RGBrgb(175, 226, 118)
HSLhsl(88, 65%, 67%)
HSVhsv(88, 48%, 89%)
CMYKcmyk(22.6%, 0%, 47.8%, 11.4%)
CIE-LABlab(84.39, -34.13, 47.26)
CIE-LCHlch(84.39, 58.30, 125.84°)
OKLaboklab(85.36% -0.0947 0.1135)
OKLCHoklch(85.36% 0.148 129.8)
XYZxyz(48.1450, 64.8137, 27.1098)
Luminance0.6482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE276 #A976E2
analogous
#E2DF76 #AFE276 #79E276
triadic
#AFE276 #76AFE2 #E276AF
tetradic
#AFE276 #76E2DF #A976E2 #E27679
square
#AFE276 #76E2DF #A976E2 #E27679
split-complementary
#AFE276 #7679E2 #DF76E2
monochromatic
#73B727 #92D743 #AFE276 #CCEDA9 #EAF7DB

Accessibility & contrast

On white

1.50
#AFE276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#AFE276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE276
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE276#FFFFFF#000000##000000
##AFE2761.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56D
Deuteranopia (green-blind)
#E3D17C
Tritanopia (blue-blind)
#B2DAC9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe276;
/* rgb */ color: rgb(175, 226, 118);
/* oklch */ color: oklch(85.4% 0.148 129.8);
Tailwind
colors: {
  custom: {
    50: '#c9eb9f',
    500: '#afe276',
    950: '#000000',
  },
}
SCSS
$custom: #afe276;
$custom-light: #c9eb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe276",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 118
  },
  "hsl": {
    "h": 88.333,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8536,
    "c": 0.14781,
    "h": 129.8
  },
  "luminance": 0.64815
}

Semantic roles & 50–950 ramp

primary
#AFE276
secondary
#7B45B8
accent
#19CD6E
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE276

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

Preview Lab → · Contrast checker → · Palette generator →

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