#AFEB68#AFEB68

#AFEB68 is a very light, vivid yellow-green. Relative luminance 0.695; OKLCH L 87.2% C 0.173 H 129.9°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#AFEB68
RGBrgb(175, 235, 104)
HSLhsl(87, 77%, 66%)
HSVhsv(87, 56%, 92%)
CMYKcmyk(25.5%, 0%, 55.7%, 7.8%)
CIE-LABlab(86.77, -39.63, 56.56)
CIE-LCHlch(86.77, 69.06, 125.02°)
OKLaboklab(87.23% -0.111 0.1328)
OKLCHoklch(87.23% 0.173 129.9)
XYZxyz(49.8858, 69.5289, 23.8862)
Luminance0.6953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB68 #A468EB
analogous
#EBE668 #AFEB68 #6EEB68
triadic
#AFEB68 #68AFEB #EB68AF
tetradic
#AFEB68 #68EBE6 #A468EB #EB686E
square
#AFEB68 #68EBE6 #A468EB #EB686E
split-complementary
#AFEB68 #686EEB #E668EB
monochromatic
#73BF19 #92E432 #AFEB68 #CCF29E #E8F9D4

Accessibility & contrast

On white

1.41
#AFEB68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#AFEB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB68
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB68#FFFFFF#000000##000000
##AFEB681.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC5B
Deuteranopia (green-blind)
#ECD871
Tritanopia (blue-blind)
#B3E2CE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb68;
/* rgb */ color: rgb(175, 235, 104);
/* oklch */ color: oklch(87.2% 0.173 129.9);
Tailwind
colors: {
  custom: {
    50: '#caf197',
    500: '#afeb68',
    950: '#000000',
  },
}
SCSS
$custom: #afeb68;
$custom-light: #caf197;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb68",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 104
  },
  "hsl": {
    "h": 87.481,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87232,
    "c": 0.17304,
    "h": 129.9
  },
  "luminance": 0.6953
}

Semantic roles & 50–950 ramp

primary
#AFEB68
secondary
#7639BE
accent
#0DD96A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFEB68

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

Preview Lab → · Contrast checker → · Palette generator →

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