#AFE269#AFE269

#AFE269 is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.2% C 0.160 H 128.4°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#AFE269
RGBrgb(175, 226, 105)
HSLhsl(85, 68%, 65%)
HSVhsv(85, 54%, 89%)
CMYKcmyk(22.6%, 0%, 53.5%, 11.4%)
CIE-LABlab(84.24, -35.49, 53.17)
CIE-LCHlch(84.24, 63.92, 123.72°)
OKLaboklab(85.19% -0.0994 0.1255)
OKLCHoklch(85.19% 0.16 128.4)
XYZxyz(47.4251, 64.5257, 23.3180)
Luminance0.6453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE269 #9C69E2
analogous
#E2D869 #AFE269 #73E269
triadic
#AFE269 #69AFE2 #E269AF
tetradic
#AFE269 #69E2D8 #9C69E2 #E26973
square
#AFE269 #69E2D8 #9C69E2 #E26973
split-complementary
#AFE269 #6973E2 #D869E2
monochromatic
#73AF22 #94D836 #AFE269 #CAEC9C #E6F6D0

Accessibility & contrast

On white

1.51
#AFE269 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#AFE269 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE269
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE269#FFFFFF#000000##000000
##AFE2691.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45D
Deuteranopia (green-blind)
#E5D171
Tritanopia (blue-blind)
#B4D9C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe269;
/* rgb */ color: rgb(175, 226, 105);
/* oklch */ color: oklch(85.2% 0.160 128.4);
Tailwind
colors: {
  custom: {
    50: '#c9eb97',
    500: '#afe269',
    950: '#000000',
  },
}
SCSS
$custom: #afe269;
$custom-light: #c9eb97;
$custom-dark: #000000;
JSON
{
  "hex": "#afe269",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 105
  },
  "hsl": {
    "h": 85.289,
    "s": 67.598,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85192,
    "c": 0.16011,
    "h": 128.4
  },
  "luminance": 0.64527
}

Semantic roles & 50–950 ramp

primary
#AFE269
secondary
#6F3FB0
accent
#16D064
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE269

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

Preview Lab → · Contrast checker → · Palette generator →

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