#AFD75F#AFD75F

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

Color values

HEX#AFD75F
RGBrgb(175, 215, 95)
HSLhsl(80, 60%, 61%)
HSVhsv(80, 56%, 84%)
CMYKcmyk(18.6%, 0%, 55.8%, 15.7%)
CIE-LABlab(81.04, -31.35, 53.99)
CIE-LCHlch(81.04, 62.43, 120.14°)
OKLaboklab(82.58% -0.0887 0.1264)
OKLCHoklch(82.58% 0.154 125.1)
XYZxyz(44.0453, 58.5407, 19.8033)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD75F #875FD7
analogous
#D7C35F #AFD75F #73D75F
triadic
#AFD75F #5FAFD7 #D75FAF
tetradic
#AFD75F #5FD7C3 #875FD7 #D75F73
square
#AFD75F #5FD7C3 #875FD7 #D75F73
split-complementary
#AFD75F #5F73D7 #C35FD7
monochromatic
#719626 #95C732 #AFD75F #C7E390 #E0EFC1

Accessibility & contrast

On white

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

On black

12.71
#AFD75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD75F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD75F#FFFFFF#000000##000000
##AFD75F1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#DCC967
Tritanopia (blue-blind)
#B6CEBD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd75f;
/* rgb */ color: rgb(175, 215, 95);
/* oklch */ color: oklch(82.6% 0.154 125.1);
Tailwind
colors: {
  custom: {
    50: '#c9e390',
    500: '#afd75f',
    950: '#000000',
  },
}
SCSS
$custom: #afd75f;
$custom-light: #c9e390;
$custom-dark: #000000;
JSON
{
  "hex": "#afd75f",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82575,
    "c": 0.15441,
    "h": 125.1
  },
  "luminance": 0.58541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD75F

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

Preview Lab → · Contrast checker → · Palette generator →

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