#AFE965#AFE965

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

Color values

HEX#AFE965
RGBrgb(175, 233, 101)
HSLhsl(86, 75%, 65%)
HSVhsv(86, 57%, 91%)
CMYKcmyk(24.9%, 0%, 56.7%, 8.6%)
CIE-LABlab(86.17, -39.02, 57.21)
CIE-LCHlch(86.17, 69.25, 124.30°)
OKLaboklab(86.74% -0.1095 0.1339)
OKLCHoklch(86.74% 0.173 129.3)
XYZxyz(49.1667, 68.3303, 22.9081)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE965 #9F65E9
analogous
#E9E165 #AFE965 #6DE965
triadic
#AFE965 #65AFE9 #E965AF
tetradic
#AFE965 #65E9E1 #9F65E9 #E9656D
square
#AFE965 #65E9E1 #9F65E9 #E9656D
split-complementary
#AFE965 #656DE9 #E165E9
monochromatic
#73B91A #93E12F #AFE965 #CBF19B #E7F8D0

Accessibility & contrast

On white

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

On black

14.67
#AFE965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE965
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE965#FFFFFF#000000##000000
##AFE9651.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA57
Deuteranopia (green-blind)
#EBD66E
Tritanopia (blue-blind)
#B3E0CC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe965;
/* rgb */ color: rgb(175, 233, 101);
/* oklch */ color: oklch(86.7% 0.173 129.3);
Tailwind
colors: {
  custom: {
    50: '#caf095',
    500: '#afe965',
    950: '#000000',
  },
}
SCSS
$custom: #afe965;
$custom-light: #caf095;
$custom-dark: #000000;
JSON
{
  "hex": "#afe965",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 101
  },
  "hsl": {
    "h": 86.364,
    "s": 75,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86742,
    "c": 0.17296,
    "h": 129.3
  },
  "luminance": 0.68331
}

Semantic roles & 50–950 ramp

primary
#AFE965
secondary
#713AB9
accent
#0ED767
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14160E
muted
#83857F

Preview Lab

Preview with #AFE965

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

Preview Lab → · Contrast checker → · Palette generator →

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