#AFD965#AFD965

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

Color values

HEX#AFD965
RGBrgb(175, 217, 101)
HSLhsl(82, 60%, 62%)
HSVhsv(82, 53%, 85%)
CMYKcmyk(19.4%, 0%, 53.5%, 14.9%)
CIE-LABlab(81.66, -31.72, 51.98)
CIE-LCHlch(81.66, 60.90, 121.39°)
OKLaboklab(83.1% -0.0892 0.1226)
OKLCHoklch(83.1% 0.152 126.1)
XYZxyz(44.8410, 59.6787, 21.4661)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD965 #8F65D9
analogous
#D9C965 #AFD965 #75D965
triadic
#AFD965 #65AFD9 #D965AF
tetradic
#AFD965 #65D9C9 #8F65D9 #D96575
square
#AFD965 #65D9C9 #8F65D9 #D96575
split-complementary
#AFD965 #6575D9 #C965D9
monochromatic
#729D27 #96CD34 #AFD965 #C9E596 #E2F1C7

Accessibility & contrast

On white

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

On black

12.94
#AFD965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD965
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD965#FFFFFF#000000##000000
##AFD9651.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd965;
/* rgb */ color: rgb(175, 217, 101);
/* oklch */ color: oklch(83.1% 0.152 126.1);
Tailwind
colors: {
  custom: {
    50: '#c9e594',
    500: '#afd965',
    950: '#000000',
  },
}
SCSS
$custom: #afd965;
$custom-light: #c9e594;
$custom-dark: #000000;
JSON
{
  "hex": "#afd965",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 101
  },
  "hsl": {
    "h": 81.724,
    "s": 60.417,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83099,
    "c": 0.15165,
    "h": 126.1
  },
  "luminance": 0.59679
}

Semantic roles & 50–950 ramp

primary
#AFD965
secondary
#6441A1
accent
#1DC85B
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD965

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

Preview Lab → · Contrast checker → · Palette generator →

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