#AFCC73#AFCC73

#AFCC73 is a light, moderate yellow-green. Relative luminance 0.535; OKLCH L 80.4% C 0.120 H 123.8°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#AFCC73
RGBrgb(175, 204, 115)
HSLhsl(80, 47%, 63%)
HSVhsv(80, 44%, 80%)
CMYKcmyk(14.2%, 0%, 43.6%, 20%)
CIE-LABlab(78.19, -24.05, 41.05)
CIE-LCHlch(78.19, 47.58, 120.37°)
OKLaboklab(80.36% -0.0667 0.0995)
OKLCHoklch(80.36% 0.12 123.8)
XYZxyz(42.3665, 53.5373, 24.3181)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC73 #9073CC
analogous
#CCBD73 #AFCC73 #82CC73
triadic
#AFCC73 #73AFCC #CC73AF
tetradic
#AFCC73 #73CCBD #9073CC #CC7382
square
#AFCC73 #73CCBD #9073CC #CC7382
split-complementary
#AFCC73 #7382CC #BD73CC
monochromatic
#729034 #95BC46 #AFCC73 #C9DCA0 #E2EDCD

Accessibility & contrast

On white

1.79
#AFCC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#AFCC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC73
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC73#FFFFFF#000000##000000
##AFCC731.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26C
Deuteranopia (green-blind)
#D1C178
Tritanopia (blue-blind)
#B5C4B7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcc73;
/* rgb */ color: rgb(175, 204, 115);
/* oklch */ color: oklch(80.4% 0.120 123.8);
Tailwind
colors: {
  custom: {
    50: '#c8db9d',
    500: '#afcc73',
    950: '#000000',
  },
}
SCSS
$custom: #afcc73;
$custom-light: #c8db9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc73",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 79.551,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8036,
    "c": 0.11975,
    "h": 123.8
  },
  "luminance": 0.53537
}

Semantic roles & 50–950 ramp

primary
#AFCC73
secondary
#654D97
accent
#2CBA5A
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCC73

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

Preview Lab → · Contrast checker → · Palette generator →

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