#AFDF93#AFDF93

#AFDF93 is a very light, moderate yellow-green. Relative luminance 0.640; OKLCH L 85.2% C 0.113 H 134.5°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#AFDF93
RGBrgb(175, 223, 147)
HSLhsl(98, 54%, 73%)
HSVhsv(98, 34%, 87%)
CMYKcmyk(21.5%, 0%, 34.1%, 12.5%)
CIE-LABlab(83.96, -29.05, 32.34)
CIE-LCHlch(83.96, 43.48, 131.93°)
OKLaboklab(85.15% -0.0792 0.0806)
OKLCHoklch(85.15% 0.113 134.5)
XYZxyz(49.3322, 63.9948, 37.3512)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF93 #C393DF
analogous
#D5DF93 #AFDF93 #93DF9D
triadic
#AFDF93 #93AFDF #DF93AF
tetradic
#AFDF93 #93D5DF #C393DF #DF9D93
square
#AFDF93 #93D5DF #C393DF #DF9D93
split-complementary
#AFDF93 #9D93DF #DF93D5
monochromatic
#6ABF39 #8CD164 #AFDF93 #D2EDC2 #EEF8E7

Accessibility & contrast

On white

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

On black

13.80
#AFDF93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF93
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF93#FFFFFF#000000##000000
##AFDF931.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D48E
Deuteranopia (green-blind)
#DDD097
Tritanopia (blue-blind)
#AFD9CC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf93;
/* rgb */ color: rgb(175, 223, 147);
/* oklch */ color: oklch(85.2% 0.113 134.5);
Tailwind
colors: {
  custom: {
    50: '#c8e9b3',
    500: '#afdf93',
    950: '#000000',
  },
}
SCSS
$custom: #afdf93;
$custom-light: #c8e9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf93",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 147
  },
  "hsl": {
    "h": 97.895,
    "s": 54.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.85153,
    "c": 0.11302,
    "h": 134.5
  },
  "luminance": 0.63996
}

Semantic roles & 50–950 ramp

primary
#AFDF93
secondary
#975FB7
accent
#24C288
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDF93

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

Preview Lab → · Contrast checker → · Palette generator →

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