#AFD296#AFD296

#AFD296 is a very light, moderate yellow-green. Relative luminance 0.574; OKLCH L 82.3% C 0.089 H 132.7°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#AFD296
RGBrgb(175, 210, 150)
HSLhsl(95, 40%, 71%)
HSVhsv(95, 29%, 82%)
CMYKcmyk(16.7%, 0%, 28.6%, 17.6%)
CIE-LABlab(80.41, -22.34, 26.04)
CIE-LCHlch(80.41, 34.31, 130.63°)
OKLaboklab(82.32% -0.0605 0.0656)
OKLCHoklch(82.32% 0.089 132.7)
XYZxyz(46.2298, 57.4084, 37.4936)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD296 #B996D2
analogous
#CDD296 #AFD296 #96D29B
triadic
#AFD296 #96AFD2 #D296AF
tetradic
#AFD296 #96CDD2 #B996D2 #D29B96
square
#AFD296 #96CDD2 #B996D2 #D29B96
split-complementary
#AFD296 #9B96D2 #D296CD
monochromatic
#6FA647 #8EC06B #AFD296 #D0E4C1 #EFF6EA

Accessibility & contrast

On white

1.68
#AFD296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#AFD296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD296
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD296#FFFFFF#000000##000000
##AFD2961.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C992
Deuteranopia (green-blind)
#D2C799
Tritanopia (blue-blind)
#B0CDC2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd296;
/* rgb */ color: rgb(175, 210, 150);
/* oklch */ color: oklch(82.3% 0.089 132.7);
Tailwind
colors: {
  custom: {
    50: '#c7e0b5',
    500: '#afd296',
    950: '#000000',
  },
}
SCSS
$custom: #afd296;
$custom-light: #c7e0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afd296",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 95,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.82318,
    "c": 0.08929,
    "h": 132.7
  },
  "luminance": 0.57409
}

Semantic roles & 50–950 ramp

primary
#AFD296
secondary
#8C64A8
accent
#32B37D
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD296

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

Preview Lab → · Contrast checker → · Palette generator →

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