#AFE792#AFE792

#AFE792 is a very light, vivid yellow-green. Relative luminance 0.683; OKLCH L 86.9% C 0.126 H 135.5°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#AFE792
RGBrgb(175, 231, 146)
HSLhsl(100, 64%, 74%)
HSVhsv(100, 37%, 91%)
CMYKcmyk(24.2%, 0%, 36.8%, 9.4%)
CIE-LABlab(86.18, -32.94, 35.76)
CIE-LCHlch(86.18, 48.62, 132.65°)
OKLaboklab(86.93% -0.09 0.0886)
OKLCHoklch(86.93% 0.126 135.5)
XYZxyz(51.4421, 68.3397, 37.6691)
Luminance0.6834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE792 #CA92E7
analogous
#DAE792 #AFE792 #92E7A0
triadic
#AFE792 #92AFE7 #E792AF
tetradic
#AFE792 #92DAE7 #CA92E7 #E7A092
square
#AFE792 #92DAE7 #CA92E7 #E7A092
split-complementary
#AFE792 #A092E7 #E792DA
monochromatic
#65D12E #8ADC60 #AFE792 #D4F2C4 #EDF9E6

Accessibility & contrast

On white

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

On black

14.67
#AFE792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE792
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE792#FFFFFF#000000##000000
##AFE7921.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe792;
/* rgb */ color: rgb(175, 231, 146);
/* oklch */ color: oklch(86.9% 0.126 135.5);
Tailwind
colors: {
  custom: {
    50: '#c8efb3',
    500: '#afe792',
    950: '#000000',
  },
}
SCSS
$custom: #afe792;
$custom-light: #c8efb3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe792",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 146
  },
  "hsl": {
    "h": 99.529,
    "s": 63.91,
    "l": 73.922
  },
  "oklch": {
    "l": 0.8693,
    "c": 0.1263,
    "h": 135.5
  },
  "luminance": 0.68341
}

Semantic roles & 50–950 ramp

primary
#AFE792
secondary
#9F5CC1
accent
#1ACC8F
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE792

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

Preview Lab → · Contrast checker → · Palette generator →

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