#AFD875#AFD875

#AFD875 is a very light, vivid yellow-green. Relative luminance 0.595; OKLCH L 83.1% C 0.135 H 127.5°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#AFD875
RGBrgb(175, 216, 117)
HSLhsl(85, 56%, 65%)
HSVhsv(85, 46%, 85%)
CMYKcmyk(19%, 0%, 45.8%, 15.3%)
CIE-LABlab(81.57, -29.58, 44.28)
CIE-LCHlch(81.57, 53.25, 123.75°)
OKLaboklab(83.09% -0.082 0.1068)
OKLCHoklch(83.09% 0.135 127.5)
XYZxyz(45.4456, 59.5094, 25.9184)
Luminance0.5951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD875 #9E75D8
analogous
#D8CF75 #AFD875 #7ED875
triadic
#AFD875 #75AFD8 #D875AF
tetradic
#AFD875 #75D8CF #9E75D8 #D8757E
square
#AFD875 #75D8CF #9E75D8 #D8757E
split-complementary
#AFD875 #757ED8 #CF75D8
monochromatic
#73A42E #93CB45 #AFD875 #CBE5A5 #E6F3D4

Accessibility & contrast

On white

1.63
#AFD875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#AFD875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD875
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD875#FFFFFF#000000##000000
##AFD8751.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6D
Deuteranopia (green-blind)
#DBCA7B
Tritanopia (blue-blind)
#B4D0C1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd875;
/* rgb */ color: rgb(175, 216, 117);
/* oklch */ color: oklch(83.1% 0.135 127.5);
Tailwind
colors: {
  custom: {
    50: '#c8e49e',
    500: '#afd875',
    950: '#000000',
  },
}
SCSS
$custom: #afd875;
$custom-light: #c8e49e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd875",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 84.848,
    "s": 55.932,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83085,
    "c": 0.13469,
    "h": 127.5
  },
  "luminance": 0.5951
}

Semantic roles & 50–950 ramp

primary
#AFD875
secondary
#7049A8
accent
#22C365
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD875

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

Preview Lab → · Contrast checker → · Palette generator →

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