#AFD75C#AFD75C

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

Color values

HEX#AFD75C
RGBrgb(175, 215, 92)
HSLhsl(80, 61%, 60%)
HSVhsv(80, 57%, 84%)
CMYKcmyk(18.6%, 0%, 57.2%, 15.7%)
CIE-LABlab(81.01, -31.61, 55.30)
CIE-LCHlch(81.01, 63.70, 119.75°)
OKLaboklab(82.54% -0.0897 0.1289)
OKLCHoklch(82.54% 0.157 124.8)
XYZxyz(43.9115, 58.4872, 19.0989)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD75C #845CD7
analogous
#D7C15C #AFD75C #72D75C
triadic
#AFD75C #5CAFD7 #D75CAF
tetradic
#AFD75C #5CD7C1 #845CD7 #D75C72
square
#AFD75C #5CD7C1 #845CD7 #D75C72
split-complementary
#AFD75C #5C72D7 #C15CD7
monochromatic
#709424 #95C530 #AFD75C #C7E38D #DFEFBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD75C#FFFFFF#000000##000000
##AFD75C1.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)
#E2CB4F
Deuteranopia (green-blind)
#DCC964
Tritanopia (blue-blind)
#B6CEBC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd75c;
/* rgb */ color: rgb(175, 215, 92);
/* oklch */ color: oklch(82.5% 0.157 124.8);
Tailwind
colors: {
  custom: {
    50: '#c9e38e',
    500: '#afd75c',
    950: '#000000',
  },
}
SCSS
$custom: #afd75c;
$custom-light: #c9e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd75c",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 92
  },
  "hsl": {
    "h": 79.512,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82541,
    "c": 0.15704,
    "h": 124.8
  },
  "luminance": 0.58488
}

Semantic roles & 50–950 ramp

primary
#AFD75C
secondary
#5C3E99
accent
#1DC855
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD75C

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

Preview Lab → · Contrast checker → · Palette generator →

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