#AFC993#AFC993

#AFC993 is a light, moderate yellow-green. Relative luminance 0.530; OKLCH L 80.3% C 0.079 H 128.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#AFC993
RGBrgb(175, 201, 147)
HSLhsl(89, 33%, 68%)
HSVhsv(89, 27%, 79%)
CMYKcmyk(12.9%, 0%, 26.9%, 21.2%)
CIE-LABlab(77.87, -18.32, 24.17)
CIE-LCHlch(77.87, 30.33, 127.16°)
OKLaboklab(80.27% -0.0494 0.0611)
OKLCHoklch(80.27% 0.079 128.9)
XYZxyz(43.8315, 52.9934, 35.5177)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC993 #AD93C9
analogous
#C9C893 #AFC993 #94C993
triadic
#AFC993 #93AFC9 #C993AF
tetradic
#AFC993 #93C9C8 #AD93C9 #C99394
square
#AFC993 #93C9C8 #AD93C9 #C99394
split-complementary
#AFC993 #9394C9 #C893C9
monochromatic
#72964B #91B56A #AFC993 #CDDDBC #EBF2E5

Accessibility & contrast

On white

1.81
#AFC993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#AFC993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC993
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC993#FFFFFF#000000##000000
##AFC9931.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC290
Deuteranopia (green-blind)
#CAC095
Tritanopia (blue-blind)
#B1C4BB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afc993;
/* rgb */ color: rgb(175, 201, 147);
/* oklch */ color: oklch(80.3% 0.079 128.9);
Tailwind
colors: {
  custom: {
    50: '#c7d9b3',
    500: '#afc993',
    950: '#000000',
  },
}
SCSS
$custom: #afc993;
$custom-light: #c7d9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#afc993",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 147
  },
  "hsl": {
    "h": 88.889,
    "s": 33.333,
    "l": 68.235
  },
  "oklch": {
    "l": 0.80271,
    "c": 0.07853,
    "h": 128.9
  },
  "luminance": 0.52994
}

Semantic roles & 50–950 ramp

primary
#AFC993
secondary
#7F629E
accent
#39AC71
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFC993

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

Preview Lab → · Contrast checker → · Palette generator →

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