#AFD75B#AFD75B

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

Color values

HEX#AFD75B
RGBrgb(175, 215, 91)
HSLhsl(79, 61%, 60%)
HSVhsv(79, 58%, 84%)
CMYKcmyk(18.6%, 0%, 57.7%, 15.7%)
CIE-LABlab(81.00, -31.70, 55.73)
CIE-LCHlch(81.00, 64.12, 119.63°)
OKLaboklab(82.53% -0.09 0.1297)
OKLCHoklch(82.53% 0.158 124.8)
XYZxyz(43.8681, 58.4698, 18.8702)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD75B #835BD7
analogous
#D7C15B #AFD75B #71D75B
triadic
#AFD75B #5BAFD7 #D75BAF
tetradic
#AFD75B #5BD7C1 #835BD7 #D75B71
square
#AFD75B #5BD7C1 #835BD7 #D75B71
split-complementary
#AFD75B #5B71D7 #C15BD7
monochromatic
#709424 #95C530 #AFD75B #C7E38C #DFEFBD

Accessibility & contrast

On white

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

On black

12.69
#AFD75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD75B
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD75B#FFFFFF#000000##000000
##AFD75B1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd75b;
/* rgb */ color: rgb(175, 215, 91);
/* oklch */ color: oklch(82.5% 0.158 124.8);
Tailwind
colors: {
  custom: {
    50: '#c9e38e',
    500: '#afd75b',
    950: '#000000',
  },
}
SCSS
$custom: #afd75b;
$custom-light: #c9e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd75b",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 91
  },
  "hsl": {
    "h": 79.355,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.8253,
    "c": 0.1579,
    "h": 124.8
  },
  "luminance": 0.5847
}

Semantic roles & 50–950 ramp

primary
#AFD75B
secondary
#5B3E99
accent
#44E478
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD75B

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

Preview Lab → · Contrast checker → · Palette generator →

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