#AFE967#AFE967

#AFE967 is a very light, vivid yellow-green. Relative luminance 0.684; OKLCH L 86.8% C 0.171 H 129.5°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#AFE967
RGBrgb(175, 233, 103)
HSLhsl(87, 75%, 66%)
HSVhsv(87, 56%, 91%)
CMYKcmyk(24.9%, 0%, 55.8%, 8.6%)
CIE-LABlab(86.19, -38.84, 56.34)
CIE-LCHlch(86.19, 68.43, 124.58°)
OKLaboklab(86.76% -0.1088 0.1322)
OKLCHoklch(86.76% 0.171 129.5)
XYZxyz(49.2659, 68.3700, 23.4304)
Luminance0.6837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE967 #A167E9
analogous
#E9E267 #AFE967 #6EE967
triadic
#AFE967 #67AFE9 #E967AF
tetradic
#AFE967 #67E9E2 #A167E9 #E9676E
square
#AFE967 #67E9E2 #A167E9 #E9676E
split-complementary
#AFE967 #676EE9 #E267E9
monochromatic
#73BB1B #93E132 #AFE967 #CBF19C #E7F8D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE967#FFFFFF#000000##000000
##AFE9671.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)
#F3DA5A
Deuteranopia (green-blind)
#EBD670
Tritanopia (blue-blind)
#B3E0CC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe967;
/* rgb */ color: rgb(175, 233, 103);
/* oklch */ color: oklch(86.8% 0.171 129.5);
Tailwind
colors: {
  custom: {
    50: '#caf096',
    500: '#afe967',
    950: '#000000',
  },
}
SCSS
$custom: #afe967;
$custom-light: #caf096;
$custom-dark: #000000;
JSON
{
  "hex": "#afe967",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 103
  },
  "hsl": {
    "h": 86.769,
    "s": 74.713,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86764,
    "c": 0.17125,
    "h": 129.5
  },
  "luminance": 0.68371
}

Semantic roles & 50–950 ramp

primary
#AFE967
secondary
#733ABA
accent
#0FD768
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE967

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

Preview Lab → · Contrast checker → · Palette generator →

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