#AFD250#AFD250

#AFD250 is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 81.3% C 0.161 H 122.8°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#AFD250
RGBrgb(175, 210, 80)
HSLhsl(76, 59%, 57%)
HSVhsv(76, 62%, 82%)
CMYKcmyk(16.7%, 0%, 61.9%, 17.6%)
CIE-LABlab(79.49, -30.24, 58.81)
CIE-LCHlch(79.49, 66.13, 117.21°)
OKLaboklab(81.28% -0.087 0.135)
OKLCHoklch(81.28% 0.161 122.8)
XYZxyz(42.1741, 55.7862, 16.1338)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD250 #7350D2
analogous
#D2B450 #AFD250 #6ED250
triadic
#AFD250 #50AFD2 #D250AF
tetradic
#AFD250 #50D2B4 #7350D2 #D2506E
square
#AFD250 #50D2B4 #7350D2 #D2506E
split-complementary
#AFD250 #506ED2 #B450D2
monochromatic
#6B8522 #92B62F #AFD250 #C5DF81 #DCEBB1

Accessibility & contrast

On white

1.73
#AFD250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#AFD250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD250
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD250#FFFFFF#000000##000000
##AFD2501.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC640
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#B7C8B7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd250;
/* rgb */ color: rgb(175, 210, 80);
/* oklch */ color: oklch(81.3% 0.161 122.8);
Tailwind
colors: {
  custom: {
    50: '#cadf86',
    500: '#afd250',
    950: '#000000',
  },
}
SCSS
$custom: #afd250;
$custom-light: #cadf86;
$custom-dark: #000000;
JSON
{
  "hex": "#afd250",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 76.154,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81283,
    "c": 0.16059,
    "h": 122.8
  },
  "luminance": 0.55786
}

Semantic roles & 50–950 ramp

primary
#AFD250
secondary
#503A8C
accent
#46E270
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD250

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

Preview Lab → · Contrast checker → · Palette generator →

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