#AFD893#AFD893

#AFD893 is a very light, moderate yellow-green. Relative luminance 0.603; OKLCH L 83.6% C 0.102 H 133.2°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#AFD893
RGBrgb(175, 216, 147)
HSLhsl(96, 47%, 71%)
HSVhsv(96, 32%, 85%)
CMYKcmyk(19%, 0%, 31.9%, 15.3%)
CIE-LABlab(82.02, -25.71, 29.76)
CIE-LCHlch(82.02, 39.32, 130.82°)
OKLaboklab(83.59% -0.0699 0.0745)
OKLCHoklch(83.59% 0.102 133.2)
XYZxyz(47.5005, 60.3314, 36.7406)
Luminance0.6033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD893 #BC93D8
analogous
#D1D893 #AFD893 #93D899
triadic
#AFD893 #93AFD8 #D893AF
tetradic
#AFD893 #93D1D8 #BC93D8 #D89993
square
#AFD893 #93D1D8 #BC93D8 #D89993
split-complementary
#AFD893 #9993D8 #D893D1
monochromatic
#6EB140 #8EC866 #AFD893 #D0E8C0 #EEF7E9

Accessibility & contrast

On white

1.61
#AFD893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#AFD893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD893
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD893#FFFFFF#000000##000000
##AFD8931.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE8E
Deuteranopia (green-blind)
#D7CB96
Tritanopia (blue-blind)
#B0D3C6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afd893;
/* rgb */ color: rgb(175, 216, 147);
/* oklch */ color: oklch(83.6% 0.102 133.2);
Tailwind
colors: {
  custom: {
    50: '#c8e4b3',
    500: '#afd893',
    950: '#000000',
  },
}
SCSS
$custom: #afd893;
$custom-light: #c8e4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#afd893",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 147
  },
  "hsl": {
    "h": 95.652,
    "s": 46.939,
    "l": 71.176
  },
  "oklch": {
    "l": 0.83591,
    "c": 0.10216,
    "h": 133.2
  },
  "luminance": 0.60332
}

Semantic roles & 50–950 ramp

primary
#AFD893
secondary
#8F60AF
accent
#2BBA80
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD893

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

Preview Lab → · Contrast checker → · Palette generator →

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