#AFD651#AFD651

#AFD651 is a very light, vivid yellow-green. Relative luminance 0.578; OKLCH L 82.2% C 0.165 H 123.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#AFD651
RGBrgb(175, 214, 81)
HSLhsl(78, 62%, 58%)
HSVhsv(78, 62%, 84%)
CMYKcmyk(18.2%, 0%, 62.1%, 16.1%)
CIE-LABlab(80.63, -32.04, 59.62)
CIE-LCHlch(80.63, 67.68, 118.25°)
OKLaboklab(82.2% -0.0919 0.1368)
OKLCHoklch(82.2% 0.165 123.9)
XYZxyz(43.2113, 57.8009, 16.6632)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD651 #7851D6
analogous
#D6BA51 #AFD651 #6CD651
triadic
#AFD651 #51AFD6 #D651AF
tetradic
#AFD651 #51D6BA #7851D6 #D6516C
square
#AFD651 #51D6BA #7851D6 #D6516C
split-complementary
#AFD651 #516CD6 #BA51D6
monochromatic
#6C8C21 #93BD2D #AFD651 #C6E283 #DDEDB4

Accessibility & contrast

On white

1.67
#AFD651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#AFD651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD651
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD651#FFFFFF#000000##000000
##AFD6511.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#B7CCBA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd651;
/* rgb */ color: rgb(175, 214, 81);
/* oklch */ color: oklch(82.2% 0.165 123.9);
Tailwind
colors: {
  custom: {
    50: '#cae287',
    500: '#afd651',
    950: '#000000',
  },
}
SCSS
$custom: #afd651;
$custom-light: #cae287;
$custom-dark: #000000;
JSON
{
  "hex": "#afd651",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 81
  },
  "hsl": {
    "h": 77.594,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82202,
    "c": 0.16482,
    "h": 123.9
  },
  "luminance": 0.57801
}

Semantic roles & 50–950 ramp

primary
#AFD651
secondary
#533A92
accent
#43E572
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD651

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

Preview Lab → · Contrast checker → · Palette generator →

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