#AFD75E#AFD75E

#AFD75E is a very light, vivid yellow-green. Relative luminance 0.585; OKLCH L 82.6% C 0.155 H 125.0°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#AFD75E
RGBrgb(175, 215, 94)
HSLhsl(80, 60%, 61%)
HSVhsv(80, 56%, 84%)
CMYKcmyk(18.6%, 0%, 56.3%, 15.7%)
CIE-LABlab(81.03, -31.44, 54.43)
CIE-LCHlch(81.03, 62.86, 120.01°)
OKLaboklab(82.56% -0.089 0.1272)
OKLCHoklch(82.56% 0.155 125)
XYZxyz(44.0001, 58.5226, 19.5654)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD75E #865ED7
analogous
#D7C35E #AFD75E #72D75E
triadic
#AFD75E #5EAFD7 #D75EAF
tetradic
#AFD75E #5ED7C3 #865ED7 #D75E72
square
#AFD75E #5ED7C3 #865ED7 #D75E72
split-complementary
#AFD75E #5E72D7 #C35ED7
monochromatic
#709525 #95C631 #AFD75E #C7E38F #E0EFC0

Accessibility & contrast

On white

1.65
#AFD75E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#AFD75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD75E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD75E#FFFFFF#000000##000000
##AFD75E1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB52
Deuteranopia (green-blind)
#DCC966
Tritanopia (blue-blind)
#B6CEBC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd75e;
/* rgb */ color: rgb(175, 215, 94);
/* oklch */ color: oklch(82.6% 0.155 125.0);
Tailwind
colors: {
  custom: {
    50: '#c9e38f',
    500: '#afd75e',
    950: '#000000',
  },
}
SCSS
$custom: #afd75e;
$custom-light: #c9e38f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd75e",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 94
  },
  "hsl": {
    "h": 79.835,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82563,
    "c": 0.1553,
    "h": 125
  },
  "luminance": 0.58523
}

Semantic roles & 50–950 ramp

primary
#AFD75E
secondary
#5D3F9A
accent
#1EC856
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD75E

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

Preview Lab → · Contrast checker → · Palette generator →

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