#AFF270#AFF270

#AFF270 is a very light, vivid yellow-green. Relative luminance 0.738; OKLCH L 88.9% C 0.175 H 131.7°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#AFF270
RGBrgb(175, 242, 112)
HSLhsl(91, 83%, 69%)
HSVhsv(91, 54%, 95%)
CMYKcmyk(27.7%, 0%, 53.7%, 5.1%)
CIE-LABlab(88.82, -41.95, 55.37)
CIE-LCHlch(88.82, 69.47, 127.15°)
OKLaboklab(88.93% -0.1168 0.1309)
OKLCHoklch(88.93% 0.175 131.7)
XYZxyz(52.3552, 73.7865, 26.8099)
Luminance0.7379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF270 #B370F2
analogous
#F0F270 #AFF270 #70F272
triadic
#AFF270 #70AFF2 #F270AF
tetradic
#AFF270 #70F0F2 #B370F2 #F27270
square
#AFF270 #70F0F2 #B370F2 #F27270
split-complementary
#AFF270 #7270F2 #F270F0
monochromatic
#71D413 #90ED38 #AFF270 #CEF7A8 #EEFCE0

Accessibility & contrast

On white

1.33
#AFF270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#AFF270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF270
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF270#FFFFFF#000000##000000
##AFF2701.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE263
Deuteranopia (green-blind)
#F2DD79
Tritanopia (blue-blind)
#B1E9D5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #aff270;
/* rgb */ color: rgb(175, 242, 112);
/* oklch */ color: oklch(88.9% 0.175 131.7);
Tailwind
colors: {
  custom: {
    50: '#caf69c',
    500: '#aff270',
    950: '#000000',
  },
}
SCSS
$custom: #aff270;
$custom-light: #caf69c;
$custom-dark: #000000;
JSON
{
  "hex": "#aff270",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 90.923,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88925,
    "c": 0.17541,
    "h": 131.7
  },
  "luminance": 0.73788
}

Semantic roles & 50–950 ramp

primary
#AFF270
secondary
#853BCB
accent
#06E076
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFF270

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

Preview Lab → · Contrast checker → · Palette generator →

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