#AFD749#AFD749

#AFD749 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.4% C 0.172 H 123.7°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#AFD749
RGBrgb(175, 215, 73)
HSLhsl(77, 64%, 56%)
HSVhsv(77, 66%, 84%)
CMYKcmyk(18.6%, 0%, 66%, 15.7%)
CIE-LABlab(80.85, -33.07, 63.09)
CIE-LCHlch(80.85, 71.23, 117.66°)
OKLaboklab(82.36% -0.0955 0.1431)
OKLCHoklch(82.36% 0.172 123.7)
XYZxyz(43.1826, 58.1956, 15.2599)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD749 #7149D7
analogous
#D7B849 #AFD749 #68D749
triadic
#AFD749 #49AFD7 #D749AF
tetradic
#AFD749 #49D7B8 #7149D7 #D74968
square
#AFD749 #49D7B8 #7149D7 #D74968
split-complementary
#AFD749 #4968D7 #B849D7
monochromatic
#6A881E #91BA29 #AFD749 #C5E27B #DBEDAD

Accessibility & contrast

On white

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

On black

12.64
#AFD749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD749
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD749#FFFFFF#000000##000000
##AFD7491.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA35
Deuteranopia (green-blind)
#DEC854
Tritanopia (blue-blind)
#B7CDBA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd749;
/* rgb */ color: rgb(175, 215, 73);
/* oklch */ color: oklch(82.4% 0.172 123.7);
Tailwind
colors: {
  custom: {
    50: '#cae383',
    500: '#afd749',
    950: '#000000',
  },
}
SCSS
$custom: #afd749;
$custom-light: #cae383;
$custom-dark: #000000;
JSON
{
  "hex": "#afd749",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 73
  },
  "hsl": {
    "h": 76.901,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82359,
    "c": 0.17202,
    "h": 123.7
  },
  "luminance": 0.58196
}

Semantic roles & 50–950 ramp

primary
#AFD749
secondary
#4F368E
accent
#41E770
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD749

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

Preview Lab → · Contrast checker → · Palette generator →

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