#AFF268#AFF268

#AFF268 is a very light, vivid yellow-green. Relative luminance 0.736; OKLCH L 88.8% C 0.182 H 131.0°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#AFF268
RGBrgb(175, 242, 104)
HSLhsl(89, 84%, 68%)
HSVhsv(89, 57%, 95%)
CMYKcmyk(27.7%, 0%, 57%, 5.1%)
CIE-LABlab(88.74, -42.72, 58.83)
CIE-LCHlch(88.74, 72.70, 125.98°)
OKLaboklab(88.83% -0.1195 0.1377)
OKLCHoklch(88.83% 0.182 131)
XYZxyz(51.9294, 73.6162, 24.5674)
Luminance0.7362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF268 #AB68F2
analogous
#F2F068 #AFF268 #6AF268
triadic
#AFF268 #68AFF2 #F268AF
tetradic
#AFF268 #68F2F0 #AB68F2 #F2686A
square
#AFF268 #68F2F0 #AB68F2 #F2686A
split-complementary
#AFF268 #686AF2 #F068F2
monochromatic
#73CE12 #91ED30 #AFF268 #CDF7A0 #EBFCD9

Accessibility & contrast

On white

1.34
#AFF268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#AFF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF268
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF268#FFFFFF#000000##000000
##AFF2681.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25A
Deuteranopia (green-blind)
#F2DD72
Tritanopia (blue-blind)
#B2E9D4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #aff268;
/* rgb */ color: rgb(175, 242, 104);
/* oklch */ color: oklch(88.8% 0.182 131.0);
Tailwind
colors: {
  custom: {
    50: '#caf697',
    500: '#aff268',
    950: '#000000',
  },
}
SCSS
$custom: #aff268;
$custom-light: #caf697;
$custom-dark: #000000;
JSON
{
  "hex": "#aff268",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 89.13,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88834,
    "c": 0.18228,
    "h": 131
  },
  "luminance": 0.73618
}

Semantic roles & 50–950 ramp

primary
#AFF268
secondary
#7D34CA
accent
#05E170
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFF268

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

Preview Lab → · Contrast checker → · Palette generator →

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