#AFDF92#AFDF92

#AFDF92 is a very light, moderate yellow-green. Relative luminance 0.640; OKLCH L 85.1% C 0.114 H 134.3°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#AFDF92
RGBrgb(175, 223, 146)
HSLhsl(97, 55%, 72%)
HSVhsv(97, 35%, 87%)
CMYKcmyk(21.5%, 0%, 34.5%, 12.5%)
CIE-LABlab(83.95, -29.20, 32.83)
CIE-LCHlch(83.95, 43.94, 131.64°)
OKLaboklab(85.14% -0.0796 0.0817)
OKLCHoklch(85.14% 0.114 134.3)
XYZxyz(49.2540, 63.9635, 36.9397)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF92 #C292DF
analogous
#D5DF92 #AFDF92 #92DF9C
triadic
#AFDF92 #92AFDF #DF92AF
tetradic
#AFDF92 #92D5DF #C292DF #DF9C92
square
#AFDF92 #92D5DF #C292DF #DF9C92
split-complementary
#AFDF92 #9C92DF #DF92D5
monochromatic
#6BBF38 #8CD163 #AFDF92 #D2EDC1 #EEF8E7

Accessibility & contrast

On white

1.52
#AFDF92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#AFDF92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF92
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF92#FFFFFF#000000##000000
##AFDF921.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D48D
Deuteranopia (green-blind)
#DED096
Tritanopia (blue-blind)
#AFD9CB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf92;
/* rgb */ color: rgb(175, 223, 146);
/* oklch */ color: oklch(85.1% 0.114 134.3);
Tailwind
colors: {
  custom: {
    50: '#c8e9b2',
    500: '#afdf92',
    950: '#000000',
  },
}
SCSS
$custom: #afdf92;
$custom-light: #c8e9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf92",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 146
  },
  "hsl": {
    "h": 97.403,
    "s": 54.61,
    "l": 72.353
  },
  "oklch": {
    "l": 0.85135,
    "c": 0.11411,
    "h": 134.3
  },
  "luminance": 0.63965
}

Semantic roles & 50–950 ramp

primary
#AFDF92
secondary
#965EB7
accent
#23C286
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDF92

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

Preview Lab → · Contrast checker → · Palette generator →

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