#AFEC68#AFEC68

#AFEC68 is a very light, vivid yellow-green. Relative luminance 0.701; OKLCH L 87.5% C 0.174 H 130.1°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#AFEC68
RGBrgb(175, 236, 104)
HSLhsl(88, 78%, 67%)
HSVhsv(88, 56%, 93%)
CMYKcmyk(25.8%, 0%, 55.9%, 7.5%)
CIE-LABlab(87.05, -40.08, 56.89)
CIE-LCHlch(87.05, 69.59, 125.17°)
OKLaboklab(87.46% -0.1122 0.1335)
OKLCHoklch(87.46% 0.174 130.1)
XYZxyz(50.1729, 70.1031, 23.9819)
Luminance0.7010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC68 #A568EC
analogous
#ECE768 #AFEC68 #6DEC68
triadic
#AFEC68 #68AFEC #EC68AF
tetradic
#AFEC68 #68ECE7 #A568EC #EC686D
square
#AFEC68 #68ECE7 #A568EC #EC686D
split-complementary
#AFEC68 #686DEC #E768EC
monochromatic
#73C118 #92E532 #AFEC68 #CCF39E #E9FAD5

Accessibility & contrast

On white

1.40
#AFEC68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#AFEC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC68
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC68#FFFFFF#000000##000000
##AFEC681.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5B
Deuteranopia (green-blind)
#EDD971
Tritanopia (blue-blind)
#B3E3CF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec68;
/* rgb */ color: rgb(175, 236, 104);
/* oklch */ color: oklch(87.5% 0.174 130.1);
Tailwind
colors: {
  custom: {
    50: '#caf297',
    500: '#afec68',
    950: '#000000',
  },
}
SCSS
$custom: #afec68;
$custom-light: #caf297;
$custom-dark: #000000;
JSON
{
  "hex": "#afec68",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 104
  },
  "hsl": {
    "h": 87.727,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87461,
    "c": 0.17436,
    "h": 130.1
  },
  "luminance": 0.70104
}

Semantic roles & 50–950 ramp

primary
#AFEC68
secondary
#7739C0
accent
#0CDA6B
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFEC68

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

Preview Lab → · Contrast checker → · Palette generator →

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