#AFD747#AFD747

#AFD747 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.3% C 0.173 H 123.6°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#AFD747
RGBrgb(175, 215, 71)
HSLhsl(77, 64%, 56%)
HSVhsv(77, 67%, 84%)
CMYKcmyk(18.6%, 0%, 67%, 15.7%)
CIE-LABlab(80.83, -33.20, 63.85)
CIE-LCHlch(80.83, 71.97, 117.47°)
OKLaboklab(82.34% -0.096 0.1444)
OKLCHoklch(82.34% 0.173 123.6)
XYZxyz(43.1174, 58.1695, 14.9163)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD747 #6F47D7
analogous
#D7B747 #AFD747 #67D747
triadic
#AFD747 #47AFD7 #D747AF
tetradic
#AFD747 #47D7B7 #6F47D7 #D74767
square
#AFD747 #47D7B7 #6F47D7 #D74767
split-complementary
#AFD747 #4767D7 #B747D7
monochromatic
#69861D #91B928 #AFD747 #C5E279 #DBEDAC

Accessibility & contrast

On white

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

On black

12.63
#AFD747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD747
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD747#FFFFFF#000000##000000
##AFD7471.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd747;
/* rgb */ color: rgb(175, 215, 71);
/* oklch */ color: oklch(82.3% 0.173 123.6);
Tailwind
colors: {
  custom: {
    50: '#cae382',
    500: '#afd747',
    950: '#000000',
  },
}
SCSS
$custom: #afd747;
$custom-light: #cae382;
$custom-dark: #000000;
JSON
{
  "hex": "#afd747",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 71
  },
  "hsl": {
    "h": 76.667,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82343,
    "c": 0.1734,
    "h": 123.6
  },
  "luminance": 0.5817
}

Semantic roles & 50–950 ramp

primary
#AFD747
secondary
#4E358D
accent
#41E76F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD747

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

Preview Lab → · Contrast checker → · Palette generator →

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