#AFCF73#AFCF73

#AFCF73 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 81.0% C 0.124 H 124.8°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#AFCF73
RGBrgb(175, 207, 115)
HSLhsl(81, 49%, 63%)
HSVhsv(81, 44%, 81%)
CMYKcmyk(15.5%, 0%, 44.4%, 18.8%)
CIE-LABlab(79.03, -25.51, 42.10)
CIE-LCHlch(79.03, 49.23, 121.21°)
OKLaboklab(81.03% -0.0708 0.1018)
OKLCHoklch(81.03% 0.124 124.8)
XYZxyz(43.0864, 54.9771, 24.5581)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF73 #9373CF
analogous
#CFC173 #AFCF73 #81CF73
triadic
#AFCF73 #73AFCF #CF73AF
tetradic
#AFCF73 #73CFC1 #9373CF #CF7381
square
#AFCF73 #73CFC1 #9373CF #CF7381
split-complementary
#AFCF73 #7381CF #C173CF
monochromatic
#739533 #95BF45 #AFCF73 #C9DFA1 #E3EECE

Accessibility & contrast

On white

1.75
#AFCF73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#AFCF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF73
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF73#FFFFFF#000000##000000
##AFCF731.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56C
Deuteranopia (green-blind)
#D4C378
Tritanopia (blue-blind)
#B5C7B9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf73;
/* rgb */ color: rgb(175, 207, 115);
/* oklch */ color: oklch(81.0% 0.124 124.8);
Tailwind
colors: {
  custom: {
    50: '#c8dd9d',
    500: '#afcf73',
    950: '#000000',
  },
}
SCSS
$custom: #afcf73;
$custom-light: #c8dd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf73",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 115
  },
  "hsl": {
    "h": 80.87,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81032,
    "c": 0.124,
    "h": 124.8
  },
  "luminance": 0.54977
}

Semantic roles & 50–950 ramp

primary
#AFCF73
secondary
#674C9B
accent
#29BC5C
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCF73

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

Preview Lab → · Contrast checker → · Palette generator →

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