#AFD775#AFD775

#AFD775 is a very light, vivid yellow-green. Relative luminance 0.590; OKLCH L 82.9% C 0.133 H 127.3°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#AFD775
RGBrgb(175, 215, 117)
HSLhsl(84, 55%, 65%)
HSVhsv(84, 46%, 84%)
CMYKcmyk(18.6%, 0%, 45.6%, 15.7%)
CIE-LABlab(81.29, -29.11, 43.93)
CIE-LCHlch(81.29, 52.70, 123.53°)
OKLaboklab(82.86% -0.0807 0.106)
OKLCHoklch(82.86% 0.133 127.3)
XYZxyz(45.1902, 58.9986, 25.8332)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD775 #9D75D7
analogous
#D7CE75 #AFD775 #7ED775
triadic
#AFD775 #75AFD7 #D775AF
tetradic
#AFD775 #75D7CE #9D75D7 #D7757E
square
#AFD775 #75D7CE #9D75D7 #D7757E
split-complementary
#AFD775 #757ED7 #CE75D7
monochromatic
#73A22F #93C946 #AFD775 #CBE5A4 #E6F3D4

Accessibility & contrast

On white

1.64
#AFD775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#AFD775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD775
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD775#FFFFFF#000000##000000
##AFD7751.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC6D
Deuteranopia (green-blind)
#DAC97B
Tritanopia (blue-blind)
#B4CFC0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd775;
/* rgb */ color: rgb(175, 215, 117);
/* oklch */ color: oklch(82.9% 0.133 127.3);
Tailwind
colors: {
  custom: {
    50: '#c8e39e',
    500: '#afd775',
    950: '#000000',
  },
}
SCSS
$custom: #afd775;
$custom-light: #c8e39e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd775",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 117
  },
  "hsl": {
    "h": 84.49,
    "s": 55.056,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8286,
    "c": 0.13327,
    "h": 127.3
  },
  "luminance": 0.58999
}

Semantic roles & 50–950 ramp

primary
#AFD775
secondary
#704AA6
accent
#23C364
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD775

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

Preview Lab → · Contrast checker → · Palette generator →

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