#AFE961#AFE961

#AFE961 is a very light, vivid yellow-green. Relative luminance 0.683; OKLCH L 86.7% C 0.176 H 128.9°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#AFE961
RGBrgb(175, 233, 97)
HSLhsl(86, 76%, 65%)
HSVhsv(86, 58%, 91%)
CMYKcmyk(24.9%, 0%, 58.4%, 8.6%)
CIE-LABlab(86.13, -39.38, 58.91)
CIE-LCHlch(86.13, 70.86, 123.76°)
OKLaboklab(86.7% -0.1108 0.1371)
OKLCHoklch(86.7% 0.176 128.9)
XYZxyz(48.9755, 68.2538, 21.9009)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE961 #9B61E9
analogous
#E9DF61 #AFE961 #6BE961
triadic
#AFE961 #61AFE9 #E961AF
tetradic
#AFE961 #61E9DF #9B61E9 #E9616B
square
#AFE961 #61E9DF #9B61E9 #E9616B
split-complementary
#AFE961 #616BE9 #DF61E9
monochromatic
#73B619 #94E22B #AFE961 #CAF097 #E5F8CC

Accessibility & contrast

On white

1.43
#AFE961 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#AFE961 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE961
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE961#FFFFFF#000000##000000
##AFE9611.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA52
Deuteranopia (green-blind)
#EBD66B
Tritanopia (blue-blind)
#B4E0CC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe961;
/* rgb */ color: rgb(175, 233, 97);
/* oklch */ color: oklch(86.7% 0.176 128.9);
Tailwind
colors: {
  custom: {
    50: '#caf092',
    500: '#afe961',
    950: '#000000',
  },
}
SCSS
$custom: #afe961;
$custom-light: #caf092;
$custom-dark: #000000;
JSON
{
  "hex": "#afe961",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 97
  },
  "hsl": {
    "h": 85.588,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86699,
    "c": 0.17632,
    "h": 128.9
  },
  "luminance": 0.68255
}

Semantic roles & 50–950 ramp

primary
#AFE961
secondary
#6E38B6
accent
#0ED864
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE961

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

Preview Lab → · Contrast checker → · Palette generator →

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