#AFE295#AFE295

#AFE295 is a very light, moderate yellow-green. Relative luminance 0.657; OKLCH L 85.9% C 0.115 H 135.5°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#AFE295
RGBrgb(175, 226, 149)
HSLhsl(100, 57%, 74%)
HSVhsv(100, 34%, 89%)
CMYKcmyk(22.6%, 0%, 34.1%, 11.4%)
CIE-LABlab(84.83, -30.18, 32.48)
CIE-LCHlch(84.83, 44.34, 132.91°)
OKLaboklab(85.86% -0.0823 0.081)
OKLCHoklch(85.86% 0.115 135.5)
XYZxyz(50.2991, 65.6753, 38.4545)
Luminance0.6568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE295 #C895E2
analogous
#D5E295 #AFE295 #95E2A1
triadic
#AFE295 #95AFE2 #E295AF
tetradic
#AFE295 #95D5E2 #C895E2 #E2A195
square
#AFE295 #95D5E2 #C895E2 #E2A195
split-complementary
#AFE295 #A195E2 #E295D5
monochromatic
#67C636 #8BD565 #AFE295 #D3EFC5 #EDF8E7

Accessibility & contrast

On white

1.49
#AFE295 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#AFE295 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE295
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE295#FFFFFF#000000##000000
##AFE2951.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D790
Deuteranopia (green-blind)
#E0D299
Tritanopia (blue-blind)
#AFDCCE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe295;
/* rgb */ color: rgb(175, 226, 149);
/* oklch */ color: oklch(85.9% 0.115 135.5);
Tailwind
colors: {
  custom: {
    50: '#c8ebb5',
    500: '#afe295',
    950: '#000000',
  },
}
SCSS
$custom: #afe295;
$custom-light: #c8ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe295",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 149
  },
  "hsl": {
    "h": 99.74,
    "s": 57.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.85862,
    "c": 0.11545,
    "h": 135.5
  },
  "luminance": 0.65677
}

Semantic roles & 50–950 ramp

primary
#AFE295
secondary
#9C60BB
accent
#21C58D
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE295

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

Preview Lab → · Contrast checker → · Palette generator →

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