#AFD750#AFD750

#AFD750 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.4% C 0.167 H 124.1°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#AFD750
RGBrgb(175, 215, 80)
HSLhsl(78, 63%, 58%)
HSVhsv(78, 63%, 84%)
CMYKcmyk(18.6%, 0%, 62.8%, 15.7%)
CIE-LABlab(80.90, -32.57, 60.33)
CIE-LCHlch(80.90, 68.56, 118.37°)
OKLaboklab(82.42% -0.0935 0.1382)
OKLCHoklch(82.42% 0.167 124.1)
XYZxyz(43.4279, 58.2937, 16.5518)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD750 #7850D7
analogous
#D7BC50 #AFD750 #6BD750
triadic
#AFD750 #50AFD7 #D750AF
tetradic
#AFD750 #50D7BC #7850D7 #D7506B
square
#AFD750 #50D7BC #7850D7 #D7506B
split-complementary
#AFD750 #506BD7 #BC50D7
monochromatic
#6C8C20 #93BE2B #AFD750 #C6E282 #DDEEB4

Accessibility & contrast

On white

1.66
#AFD750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#AFD750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD750
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD750#FFFFFF#000000##000000
##AFD7501.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3F
Deuteranopia (green-blind)
#DDC95A
Tritanopia (blue-blind)
#B7CDBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd750;
/* rgb */ color: rgb(175, 215, 80);
/* oklch */ color: oklch(82.4% 0.167 124.1);
Tailwind
colors: {
  custom: {
    50: '#cae387',
    500: '#afd750',
    950: '#000000',
  },
}
SCSS
$custom: #afd750;
$custom-light: #cae387;
$custom-dark: #000000;
JSON
{
  "hex": "#afd750",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 80
  },
  "hsl": {
    "h": 77.778,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8242,
    "c": 0.16684,
    "h": 124.1
  },
  "luminance": 0.58294
}

Semantic roles & 50–950 ramp

primary
#AFD750
secondary
#533992
accent
#42E673
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD750

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

Preview Lab → · Contrast checker → · Palette generator →

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