#AFD850#AFD850

#AFD850 is a very light, vivid yellow-green. Relative luminance 0.588; OKLCH L 82.6% C 0.168 H 124.3°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#AFD850
RGBrgb(175, 216, 80)
HSLhsl(78, 64%, 58%)
HSVhsv(78, 63%, 85%)
CMYKcmyk(19%, 0%, 63%, 15.3%)
CIE-LABlab(81.18, -33.04, 60.64)
CIE-LCHlch(81.18, 69.05, 118.58°)
OKLaboklab(82.65% -0.0948 0.1389)
OKLCHoklch(82.65% 0.168 124.3)
XYZxyz(43.6833, 58.8045, 16.6369)
Luminance0.5880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD850 #7950D8
analogous
#D8BD50 #AFD850 #6BD850
triadic
#AFD850 #50AFD8 #D850AF
tetradic
#AFD850 #50D8BD #7950D8 #D8506B
square
#AFD850 #50D8BD #7950D8 #D8506B
split-complementary
#AFD850 #506BD8 #BD50D8
monochromatic
#6D8E20 #93C02B #AFD850 #C6E382 #DDEEB4

Accessibility & contrast

On white

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

On black

12.76
#AFD850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD850
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD850#FFFFFF#000000##000000
##AFD8501.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB3F
Deuteranopia (green-blind)
#DEC95A
Tritanopia (blue-blind)
#B7CEBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd850;
/* rgb */ color: rgb(175, 216, 80);
/* oklch */ color: oklch(82.6% 0.168 124.3);
Tailwind
colors: {
  custom: {
    50: '#cae487',
    500: '#afd850',
    950: '#000000',
  },
}
SCSS
$custom: #afd850;
$custom-light: #cae487;
$custom-dark: #000000;
JSON
{
  "hex": "#afd850",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 80
  },
  "hsl": {
    "h": 78.088,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82648,
    "c": 0.1681,
    "h": 124.3
  },
  "luminance": 0.58805
}

Semantic roles & 50–950 ramp

primary
#AFD850
secondary
#543994
accent
#41E773
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD850

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

Preview Lab → · Contrast checker → · Palette generator →

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