#AFE974#AFE974

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

Color values

HEX#AFE974
RGBrgb(175, 233, 116)
HSLhsl(90, 73%, 68%)
HSVhsv(90, 50%, 91%)
CMYKcmyk(24.9%, 0%, 50.2%, 8.6%)
CIE-LABlab(86.33, -37.54, 50.57)
CIE-LCHlch(86.33, 62.98, 126.59°)
OKLaboklab(86.92% -0.1043 0.1207)
OKLCHoklch(86.92% 0.16 130.8)
XYZxyz(49.9699, 68.6515, 27.1380)
Luminance0.6865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE974 #AE74E9
analogous
#E9E974 #AFE974 #74E974
triadic
#AFE974 #74AFE9 #E974AF
tetradic
#AFE974 #74E9E9 #AE74E9 #E97474
square
#AFE974 #74E9E9 #AE74E9 #E97474
split-complementary
#AFE974 #7474E9 #E974E9
monochromatic
#72C41F #91E13F #AFE974 #CDF1A9 #ECFADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE974#FFFFFF#000000##000000
##AFE9741.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)
#F2DB6A
Deuteranopia (green-blind)
#EAD77B
Tritanopia (blue-blind)
#B2E1CE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe974;
/* rgb */ color: rgb(175, 233, 116);
/* oklch */ color: oklch(86.9% 0.160 130.8);
Tailwind
colors: {
  custom: {
    50: '#c9f09e',
    500: '#afe974',
    950: '#000000',
  },
}
SCSS
$custom: #afe974;
$custom-light: #c9f09e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe974",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 116
  },
  "hsl": {
    "h": 89.744,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86923,
    "c": 0.1595,
    "h": 130.8
  },
  "luminance": 0.68653
}

Semantic roles & 50–950 ramp

primary
#AFE974
secondary
#8040C1
accent
#11D572
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE974

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

Preview Lab → · Contrast checker → · Palette generator →

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