#AFE975#AFE975

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

Color values

HEX#AFE975
RGBrgb(175, 233, 117)
HSLhsl(90, 73%, 69%)
HSVhsv(90, 50%, 91%)
CMYKcmyk(24.9%, 0%, 49.8%, 8.6%)
CIE-LABlab(86.34, -37.43, 50.11)
CIE-LCHlch(86.34, 62.55, 126.76°)
OKLaboklab(86.94% -0.1039 0.1198)
OKLCHoklch(86.94% 0.159 130.9)
XYZxyz(50.0284, 68.6749, 27.4460)
Luminance0.6868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE975 #AF75E9
analogous
#E9E975 #AFE975 #75E975
triadic
#AFE975 #75AFE9 #E975AF
tetradic
#AFE975 #75E9E9 #AF75E9 #E97575
square
#AFE975 #75E9E9 #AF75E9 #E97575
split-complementary
#AFE975 #7575E9 #E975E9
monochromatic
#72C41F #90E140 #AFE975 #CEF1AA #ECFADF

Accessibility & contrast

On white

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

On black

14.74
#AFE975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE975
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE975#FFFFFF#000000##000000
##AFE9751.001.4314.7414.74
#FFFFFF1.431.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe975;
/* rgb */ color: rgb(175, 233, 117);
/* oklch */ color: oklch(86.9% 0.159 130.9);
Tailwind
colors: {
  custom: {
    50: '#c9f09f',
    500: '#afe975',
    950: '#000000',
  },
}
SCSS
$custom: #afe975;
$custom-light: #c9f09f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe975",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 117
  },
  "hsl": {
    "h": 90,
    "s": 72.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86936,
    "c": 0.15856,
    "h": 130.9
  },
  "luminance": 0.68676
}

Semantic roles & 50–950 ramp

primary
#AFE975
secondary
#8141C1
accent
#11D573
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE975

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

Preview Lab → · Contrast checker → · Palette generator →

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