#AFE799#AFE799

#AFE799 is a very light, moderate green. Relative luminance 0.686; OKLCH L 87.1% C 0.119 H 137.1°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#AFE799
RGBrgb(175, 231, 153)
HSLhsl(103, 62%, 75%)
HSVhsv(103, 34%, 91%)
CMYKcmyk(24.2%, 0%, 33.8%, 9.4%)
CIE-LABlab(86.29, -31.95, 32.38)
CIE-LCHlch(86.29, 45.49, 134.62°)
OKLaboklab(87.06% -0.0871 0.0808)
OKLCHoklch(87.06% 0.119 137.1)
XYZxyz(52.0034, 68.5642, 40.6251)
Luminance0.6857 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE799 #D199E7
analogous
#D6E799 #AFE799 #99E7AA
triadic
#AFE799 #99AFE7 #E799AF
tetradic
#AFE799 #99D6E7 #D199E7 #E7AA99
square
#AFE799 #99D6E7 #D199E7 #E7AA99
split-complementary
#AFE799 #AA99E7 #E799D6
monochromatic
#61D036 #88DB67 #AFE799 #D6F3CB #ECF9E6

Accessibility & contrast

On white

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

On black

14.71
#AFE799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE799
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE799#FFFFFF#000000##000000
##AFE7991.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB94
Deuteranopia (green-blind)
#E4D69D
Tritanopia (blue-blind)
#ADE2D3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe799;
/* rgb */ color: rgb(175, 231, 153);
/* oklch */ color: oklch(87.1% 0.119 137.1);
Tailwind
colors: {
  custom: {
    50: '#c8efb7',
    500: '#afe799',
    950: '#000000',
  },
}
SCSS
$custom: #afe799;
$custom-light: #c8efb7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe799",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 153
  },
  "hsl": {
    "h": 103.077,
    "s": 61.905,
    "l": 75.294
  },
  "oklch": {
    "l": 0.87056,
    "c": 0.11884,
    "h": 137.1
  },
  "luminance": 0.68566
}

Semantic roles & 50–950 ramp

primary
#AFE799
secondary
#A763C1
accent
#1CCA99
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE799

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

Preview Lab → · Contrast checker → · Palette generator →

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