#AFD968#AFD968

#AFD968 is a very light, vivid yellow-green. Relative luminance 0.597; OKLCH L 83.1% C 0.149 H 126.3°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#AFD968
RGBrgb(175, 217, 104)
HSLhsl(82, 60%, 63%)
HSVhsv(82, 52%, 85%)
CMYKcmyk(19.4%, 0%, 52.1%, 14.9%)
CIE-LABlab(81.70, -31.43, 50.63)
CIE-LCHlch(81.70, 59.59, 121.83°)
OKLaboklab(83.14% -0.0882 0.1199)
OKLCHoklch(83.14% 0.149 126.3)
XYZxyz(44.9906, 59.7386, 22.2544)
Luminance0.5974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD968 #9268D9
analogous
#D9CA68 #AFD968 #76D968
triadic
#AFD968 #68AFD9 #D968AF
tetradic
#AFD968 #68D9CA #9268D9 #D96876
square
#AFD968 #68D9CA #9268D9 #D96876
split-complementary
#AFD968 #6876D9 #CA68D9
monochromatic
#739F28 #95CD37 #AFD968 #C9E599 #E3F2CA

Accessibility & contrast

On white

1.62
#AFD968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#AFD968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD968
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD968#FFFFFF#000000##000000
##AFD9681.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5D
Deuteranopia (green-blind)
#DDCA6F
Tritanopia (blue-blind)
#B5D0BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd968;
/* rgb */ color: rgb(175, 217, 104);
/* oklch */ color: oklch(83.1% 0.149 126.3);
Tailwind
colors: {
  custom: {
    50: '#c9e596',
    500: '#afd968',
    950: '#000000',
  },
}
SCSS
$custom: #afd968;
$custom-light: #c9e596;
$custom-dark: #000000;
JSON
{
  "hex": "#afd968",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 82.301,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83136,
    "c": 0.14886,
    "h": 126.3
  },
  "luminance": 0.59739
}

Semantic roles & 50–950 ramp

primary
#AFD968
secondary
#6643A3
accent
#1EC75D
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD968

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

Preview Lab → · Contrast checker → · Palette generator →

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