#AFD792#AFD792

#AFD792 is a very light, moderate yellow-green. Relative luminance 0.598; OKLCH L 83.3% C 0.102 H 132.7°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#AFD792
RGBrgb(175, 215, 146)
HSLhsl(95, 46%, 71%)
HSVhsv(95, 32%, 84%)
CMYKcmyk(18.6%, 0%, 32.1%, 15.7%)
CIE-LABlab(81.72, -25.37, 29.88)
CIE-LCHlch(81.72, 39.20, 130.33°)
OKLaboklab(83.35% -0.069 0.0748)
OKLCHoklch(83.35% 0.102 132.7)
XYZxyz(47.1669, 59.7893, 36.2440)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD792 #BA92D7
analogous
#D1D792 #AFD792 #92D797
triadic
#AFD792 #92AFD7 #D792AF
tetradic
#AFD792 #92D1D7 #BA92D7 #D79792
square
#AFD792 #92D1D7 #BA92D7 #D79792
split-complementary
#AFD792 #9792D7 #D792D1
monochromatic
#6EAF40 #8EC765 #AFD792 #D0E7BF #EFF7E9

Accessibility & contrast

On white

1.62
#AFD792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#AFD792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD792
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD792#FFFFFF#000000##000000
##AFD7921.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCD8D
Deuteranopia (green-blind)
#D7CA95
Tritanopia (blue-blind)
#B0D2C5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd792;
/* rgb */ color: rgb(175, 215, 146);
/* oklch */ color: oklch(83.3% 0.102 132.7);
Tailwind
colors: {
  custom: {
    50: '#c8e3b2',
    500: '#afd792',
    950: '#000000',
  },
}
SCSS
$custom: #afd792;
$custom-light: #c8e3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afd792",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 94.783,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.83349,
    "c": 0.10173,
    "h": 132.7
  },
  "luminance": 0.5979
}

Semantic roles & 50–950 ramp

primary
#AFD792
secondary
#8D60AE
accent
#2CBA7E
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD792

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

Preview Lab → · Contrast checker → · Palette generator →

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