#AFD949#AFD949

#AFD949 is a very light, vivid yellow-green. Relative luminance 0.592; OKLCH L 82.8% C 0.174 H 124.2°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#AFD949
RGBrgb(175, 217, 73)
HSLhsl(78, 65%, 57%)
HSVhsv(78, 66%, 85%)
CMYKcmyk(19.4%, 0%, 66.4%, 14.9%)
CIE-LABlab(81.41, -33.99, 63.68)
CIE-LCHlch(81.41, 72.18, 118.09°)
OKLaboklab(82.82% -0.098 0.1443)
OKLCHoklch(82.82% 0.174 124.2)
XYZxyz(43.6950, 59.2203, 15.4307)
Luminance0.5922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD949 #7349D9
analogous
#D9BB49 #AFD949 #67D949
triadic
#AFD949 #49AFD9 #D949AF
tetradic
#AFD949 #49D9BB #7349D9 #D94967
square
#AFD949 #49D9BB #7349D9 #D94967
split-complementary
#AFD949 #4967D9 #BB49D9
monochromatic
#6B8B1D #92BD28 #AFD949 #C5E47C #DCEEAE

Accessibility & contrast

On white

1.63
#AFD949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#AFD949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD949
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD949#FFFFFF#000000##000000
##AFD9491.001.6312.8412.84
#FFFFFF1.631.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC35
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#B7CFBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd949;
/* rgb */ color: rgb(175, 217, 73);
/* oklch */ color: oklch(82.8% 0.174 124.2);
Tailwind
colors: {
  custom: {
    50: '#cae583',
    500: '#afd949',
    950: '#000000',
  },
}
SCSS
$custom: #afd949;
$custom-light: #cae583;
$custom-dark: #000000;
JSON
{
  "hex": "#afd949",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 73
  },
  "hsl": {
    "h": 77.5,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82816,
    "c": 0.17445,
    "h": 124.2
  },
  "luminance": 0.59221
}

Semantic roles & 50–950 ramp

primary
#AFD949
secondary
#503691
accent
#3FE871
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD949

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

Preview Lab → · Contrast checker → · Palette generator →

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