#AFE265#AFE265

#AFE265 is a very light, vivid yellow-green. Relative luminance 0.644; OKLCH L 85.1% C 0.164 H 128.0°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#AFE265
RGBrgb(175, 226, 101)
HSLhsl(84, 68%, 64%)
HSVhsv(84, 55%, 89%)
CMYKcmyk(22.6%, 0%, 55.3%, 11.4%)
CIE-LABlab(84.20, -35.87, 54.93)
CIE-LCHlch(84.20, 65.61, 123.14°)
OKLaboklab(85.15% -0.1008 0.129)
OKLCHoklch(85.15% 0.164 128)
XYZxyz(47.2243, 64.4454, 22.2606)
Luminance0.6445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE265 #9865E2
analogous
#E2D765 #AFE265 #71E265
triadic
#AFE265 #65AFE2 #E265AF
tetradic
#AFE265 #65E2D7 #9865E2 #E26571
square
#AFE265 #65E2D7 #9865E2 #E26571
split-complementary
#AFE265 #6571E2 #D765E2
monochromatic
#73AC20 #94D831 #AFE265 #CAEC99 #E5F5CC

Accessibility & contrast

On white

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

On black

13.89
#AFE265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE265
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE265#FFFFFF#000000##000000
##AFE2651.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD458
Deuteranopia (green-blind)
#E5D16D
Tritanopia (blue-blind)
#B4D9C6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe265;
/* rgb */ color: rgb(175, 226, 101);
/* oklch */ color: oklch(85.1% 0.164 128.0);
Tailwind
colors: {
  custom: {
    50: '#c9eb94',
    500: '#afe265',
    950: '#000000',
  },
}
SCSS
$custom: #afe265;
$custom-light: #c9eb94;
$custom-dark: #000000;
JSON
{
  "hex": "#afe265",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 101
  },
  "hsl": {
    "h": 84.48,
    "s": 68.306,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85145,
    "c": 0.16368,
    "h": 128
  },
  "luminance": 0.64446
}

Semantic roles & 50–950 ramp

primary
#AFE265
secondary
#6B3DAE
accent
#15D062
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE265

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

Preview Lab → · Contrast checker → · Palette generator →

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