#AFE795#AFE795

#AFE795 is a very light, vivid green. Relative luminance 0.684; OKLCH L 87.0% C 0.123 H 136.1°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#AFE795
RGBrgb(175, 231, 149)
HSLhsl(101, 63%, 75%)
HSVhsv(101, 35%, 91%)
CMYKcmyk(24.2%, 0%, 35.5%, 9.4%)
CIE-LABlab(86.22, -32.52, 34.31)
CIE-LCHlch(86.22, 47.28, 133.46°)
OKLaboklab(86.98% -0.0888 0.0853)
OKLCHoklch(86.98% 0.123 136.1)
XYZxyz(51.6786, 68.4343, 38.9143)
Luminance0.6844 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE795 #CD95E7
analogous
#D8E795 #AFE795 #95E7A4
triadic
#AFE795 #95AFE7 #E795AF
tetradic
#AFE795 #95D8E7 #CD95E7 #E7A495
square
#AFE795 #95D8E7 #CD95E7 #E7A495
split-complementary
#AFE795 #A495E7 #E795D8
monochromatic
#64D031 #89DC63 #AFE795 #D5F2C7 #ECF9E6

Accessibility & contrast

On white

1.43
#AFE795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#AFE795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE795
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE795#FFFFFF#000000##000000
##AFE7951.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB8F
Deuteranopia (green-blind)
#E4D699
Tritanopia (blue-blind)
#AEE1D2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe795;
/* rgb */ color: rgb(175, 231, 149);
/* oklch */ color: oklch(87.0% 0.123 136.1);
Tailwind
colors: {
  custom: {
    50: '#c8efb5',
    500: '#afe795',
    950: '#000000',
  },
}
SCSS
$custom: #afe795;
$custom-light: #c8efb5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe795",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 100.976,
    "s": 63.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.86983,
    "c": 0.12311,
    "h": 136.1
  },
  "luminance": 0.68436
}

Semantic roles & 50–950 ramp

primary
#AFE795
secondary
#A25FC1
accent
#1BCB93
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE795

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

Preview Lab → · Contrast checker → · Palette generator →

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