#AFD276#AFD276

#AFD276 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.8% C 0.125 H 126.1°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#AFD276
RGBrgb(175, 210, 118)
HSLhsl(83, 51%, 64%)
HSVhsv(83, 44%, 82%)
CMYKcmyk(16.7%, 0%, 43.8%, 17.6%)
CIE-LABlab(79.91, -26.61, 41.71)
CIE-LCHlch(79.91, 49.48, 122.54°)
OKLaboklab(81.75% -0.0737 0.1011)
OKLCHoklch(81.75% 0.125 126.1)
XYZxyz(43.9955, 56.5147, 25.7266)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD276 #9976D2
analogous
#D2C776 #AFD276 #81D276
triadic
#AFD276 #76AFD2 #D276AF
tetradic
#AFD276 #76D2C7 #9976D2 #D27681
square
#AFD276 #76D2C7 #9976D2 #D27681
split-complementary
#AFD276 #7681D2 #C776D2
monochromatic
#739B33 #94C348 #AFD276 #CAE1A4 #E5F0D2

Accessibility & contrast

On white

1.71
#AFD276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#AFD276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD276
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD276#FFFFFF#000000##000000
##AFD2761.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76F
Deuteranopia (green-blind)
#D6C67B
Tritanopia (blue-blind)
#B4CABC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd276;
/* rgb */ color: rgb(175, 210, 118);
/* oklch */ color: oklch(81.8% 0.125 126.1);
Tailwind
colors: {
  custom: {
    50: '#c8e09f',
    500: '#afd276',
    950: '#000000',
  },
}
SCSS
$custom: #afd276;
$custom-light: #c8e09f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd276",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 118
  },
  "hsl": {
    "h": 82.826,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8175,
    "c": 0.1251,
    "h": 126.1
  },
  "luminance": 0.56515
}

Semantic roles & 50–950 ramp

primary
#AFD276
secondary
#6C4CA0
accent
#28BE61
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD276

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

Preview Lab → · Contrast checker → · Palette generator →

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