#AFE973#AFE973

#AFE973 is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 86.9% C 0.160 H 130.7°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#AFE973
RGBrgb(175, 233, 115)
HSLhsl(89, 73%, 68%)
HSVhsv(89, 51%, 91%)
CMYKcmyk(24.9%, 0%, 50.6%, 8.6%)
CIE-LABlab(86.32, -37.64, 51.02)
CIE-LCHlch(86.32, 63.41, 126.42°)
OKLaboklab(86.91% -0.1046 0.1216)
OKLCHoklch(86.91% 0.16 130.7)
XYZxyz(49.9120, 68.6284, 26.8333)
Luminance0.6863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE973 #AD73E9
analogous
#E9E873 #AFE973 #74E973
triadic
#AFE973 #73AFE9 #E973AF
tetradic
#AFE973 #73E9E8 #AD73E9 #E97374
square
#AFE973 #73E9E8 #AD73E9 #E97374
split-complementary
#AFE973 #7374E9 #E873E9
monochromatic
#72C31F #91E13E #AFE973 #CDF1A8 #EBFADD

Accessibility & contrast

On white

1.43
#AFE973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#AFE973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE973
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE973#FFFFFF#000000##000000
##AFE9731.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB68
Deuteranopia (green-blind)
#EAD77A
Tritanopia (blue-blind)
#B2E1CE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe973;
/* rgb */ color: rgb(175, 233, 115);
/* oklch */ color: oklch(86.9% 0.160 130.7);
Tailwind
colors: {
  custom: {
    50: '#c9f09e',
    500: '#afe973',
    950: '#000000',
  },
}
SCSS
$custom: #afe973;
$custom-light: #c9f09e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe973",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 115
  },
  "hsl": {
    "h": 89.492,
    "s": 72.84,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8691,
    "c": 0.16043,
    "h": 130.7
  },
  "luminance": 0.6863
}

Semantic roles & 50–950 ramp

primary
#AFE973
secondary
#7F3FC1
accent
#11D571
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE973

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

Preview Lab → · Contrast checker → · Palette generator →

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