#AFE968#AFE968

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

Color values

HEX#AFE968
RGBrgb(175, 233, 104)
HSLhsl(87, 75%, 66%)
HSVhsv(87, 55%, 91%)
CMYKcmyk(24.9%, 0%, 55.4%, 8.6%)
CIE-LABlab(86.20, -38.74, 55.91)
CIE-LCHlch(86.20, 68.02, 124.72°)
OKLaboklab(86.78% -0.1085 0.1314)
OKLCHoklch(86.78% 0.17 129.6)
XYZxyz(49.3164, 68.3901, 23.6964)
Luminance0.6839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE968 #A268E9
analogous
#E9E268 #AFE968 #6EE968
triadic
#AFE968 #68AFE9 #E968AF
tetradic
#AFE968 #68E9E2 #A268E9 #E9686E
square
#AFE968 #68E9E2 #A268E9 #E9686E
split-complementary
#AFE968 #686EE9 #E268E9
monochromatic
#73BB1B #93E133 #AFE968 #CBF19D #E8F9D3

Accessibility & contrast

On white

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

On black

14.68
#AFE968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE968
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE968#FFFFFF#000000##000000
##AFE9681.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA5B
Deuteranopia (green-blind)
#EBD671
Tritanopia (blue-blind)
#B3E0CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe968;
/* rgb */ color: rgb(175, 233, 104);
/* oklch */ color: oklch(86.8% 0.170 129.6);
Tailwind
colors: {
  custom: {
    50: '#caf097',
    500: '#afe968',
    950: '#000000',
  },
}
SCSS
$custom: #afe968;
$custom-light: #caf097;
$custom-dark: #000000;
JSON
{
  "hex": "#afe968",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 104
  },
  "hsl": {
    "h": 86.977,
    "s": 74.566,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86776,
    "c": 0.17038,
    "h": 129.6
  },
  "luminance": 0.68391
}

Semantic roles & 50–950 ramp

primary
#AFE968
secondary
#743BBB
accent
#0FD769
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE968

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

Preview Lab → · Contrast checker → · Palette generator →

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