#AFD756#AFD756

#AFD756 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.5% C 0.162 H 124.4°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#AFD756
RGBrgb(175, 215, 86)
HSLhsl(79, 62%, 59%)
HSVhsv(79, 60%, 84%)
CMYKcmyk(18.6%, 0%, 60%, 15.7%)
CIE-LABlab(80.95, -32.11, 57.86)
CIE-LCHlch(80.95, 66.17, 119.03°)
OKLaboklab(82.48% -0.0916 0.1337)
OKLCHoklch(82.48% 0.162 124.4)
XYZxyz(43.6596, 58.3864, 17.7719)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD756 #7E56D7
analogous
#D7BF56 #AFD756 #6FD756
triadic
#AFD756 #56AFD7 #D756AF
tetradic
#AFD756 #56D7BF #7E56D7 #D7566F
square
#AFD756 #56D7BF #7E56D7 #D7566F
split-complementary
#AFD756 #566FD7 #BF56D7
monochromatic
#6E9022 #94C22E #AFD756 #C6E387 #DEEEB9

Accessibility & contrast

On white

1.66
#AFD756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#AFD756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD756
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD756#FFFFFF#000000##000000
##AFD7561.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA47
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#B6CDBC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd756;
/* rgb */ color: rgb(175, 215, 86);
/* oklch */ color: oklch(82.5% 0.162 124.4);
Tailwind
colors: {
  custom: {
    50: '#cae38a',
    500: '#afd756',
    950: '#000000',
  },
}
SCSS
$custom: #afd756;
$custom-light: #cae38a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd756",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 86
  },
  "hsl": {
    "h": 78.605,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82478,
    "c": 0.16209,
    "h": 124.4
  },
  "luminance": 0.58387
}

Semantic roles & 50–950 ramp

primary
#AFD756
secondary
#573B96
accent
#43E575
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD756

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

Preview Lab → · Contrast checker → · Palette generator →

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