#AFEB73#AFEB73

#AFEB73 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.4% C 0.163 H 131.0°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#AFEB73
RGBrgb(175, 235, 115)
HSLhsl(90, 75%, 69%)
HSVhsv(90, 51%, 92%)
CMYKcmyk(25.5%, 0%, 51.1%, 7.8%)
CIE-LABlab(86.88, -38.54, 51.70)
CIE-LCHlch(86.88, 64.48, 126.70°)
OKLaboklab(87.37% -0.1071 0.1231)
OKLCHoklch(87.37% 0.163 131)
XYZxyz(50.4814, 69.7672, 27.0231)
Luminance0.6977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB73 #AF73EB
analogous
#EBEB73 #AFEB73 #73EB73
triadic
#AFEB73 #73AFEB #EB73AF
tetradic
#AFEB73 #73EBEB #AF73EB #EB7373
square
#AFEB73 #73EBEB #AF73EB #EB7373
split-complementary
#AFEB73 #7373EB #EB73EB
monochromatic
#72C71C #90E33D #AFEB73 #CEF3A9 #ECFADE

Accessibility & contrast

On white

1.40
#AFEB73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#AFEB73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB73
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB73#FFFFFF#000000##000000
##AFEB731.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC68
Deuteranopia (green-blind)
#EBD87B
Tritanopia (blue-blind)
#B2E3D0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb73;
/* rgb */ color: rgb(175, 235, 115);
/* oklch */ color: oklch(87.4% 0.163 131.0);
Tailwind
colors: {
  custom: {
    50: '#c9f19e',
    500: '#afeb73',
    950: '#000000',
  },
}
SCSS
$custom: #afeb73;
$custom-light: #c9f19e;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb73",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 115
  },
  "hsl": {
    "h": 90,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87365,
    "c": 0.16318,
    "h": 131
  },
  "luminance": 0.69768
}

Semantic roles & 50–950 ramp

primary
#AFEB73
secondary
#813FC3
accent
#0ED773
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEB73

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

Preview Lab → · Contrast checker → · Palette generator →

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