#AFD975#AFD975

#AFD975 is a very light, vivid yellow-green. Relative luminance 0.600; OKLCH L 83.3% C 0.136 H 127.8°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#AFD975
RGBrgb(175, 217, 117)
HSLhsl(85, 57%, 65%)
HSVhsv(85, 46%, 85%)
CMYKcmyk(19.4%, 0%, 46.1%, 14.9%)
CIE-LABlab(81.85, -30.06, 44.62)
CIE-LCHlch(81.85, 53.80, 123.96°)
OKLaboklab(83.31% -0.0834 0.1076)
OKLCHoklch(83.31% 0.136 127.8)
XYZxyz(45.7026, 60.0234, 26.0040)
Luminance0.6002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD975 #9F75D9
analogous
#D9D175 #AFD975 #7DD975
triadic
#AFD975 #75AFD9 #D975AF
tetradic
#AFD975 #75D9D1 #9F75D9 #D9757D
square
#AFD975 #75D9D1 #9F75D9 #D9757D
split-complementary
#AFD975 #757DD9 #D175D9
monochromatic
#73A62E #93CC45 #AFD975 #CBE6A5 #E7F3D5

Accessibility & contrast

On white

1.61
#AFD975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#AFD975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD975
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD975#FFFFFF#000000##000000
##AFD9751.001.6113.0013.00
#FFFFFF1.611.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6D
Deuteranopia (green-blind)
#DCCB7B
Tritanopia (blue-blind)
#B3D1C1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd975;
/* rgb */ color: rgb(175, 217, 117);
/* oklch */ color: oklch(83.3% 0.136 127.8);
Tailwind
colors: {
  custom: {
    50: '#c8e59e',
    500: '#afd975',
    950: '#000000',
  },
}
SCSS
$custom: #afd975;
$custom-light: #c8e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd975",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 85.2,
    "s": 56.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83311,
    "c": 0.1361,
    "h": 127.8
  },
  "luminance": 0.60024
}

Semantic roles & 50–950 ramp

primary
#AFD975
secondary
#7149A9
accent
#21C466
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD975

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

Preview Lab → · Contrast checker → · Palette generator →

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