#AFD547#AFD547

#AFD547 is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.9% C 0.171 H 123.1°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#AFD547
RGBrgb(175, 213, 71)
HSLhsl(76, 63%, 56%)
HSVhsv(76, 67%, 84%)
CMYKcmyk(17.8%, 0%, 66.7%, 16.5%)
CIE-LABlab(80.27, -32.27, 63.27)
CIE-LCHlch(80.27, 71.02, 117.03°)
OKLaboklab(81.89% -0.0934 0.1432)
OKLCHoklch(81.89% 0.171 123.1)
XYZxyz(42.6112, 57.1572, 14.7476)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD547 #6D47D5
analogous
#D5B447 #AFD547 #68D547
triadic
#AFD547 #47AFD5 #D547AF
tetradic
#AFD547 #47D5B4 #6D47D5 #D54768
square
#AFD547 #47D5B4 #6D47D5 #D54768
split-complementary
#AFD547 #4768D5 #B447D5
monochromatic
#68841E #90B529 #AFD547 #C5E079 #DAECAB

Accessibility & contrast

On white

1.69
#AFD547 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#AFD547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD547
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD547#FFFFFF#000000##000000
##AFD5471.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C833
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#B7CBB8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd547;
/* rgb */ color: rgb(175, 213, 71);
/* oklch */ color: oklch(81.9% 0.171 123.1);
Tailwind
colors: {
  custom: {
    50: '#cae282',
    500: '#afd547',
    950: '#000000',
  },
}
SCSS
$custom: #afd547;
$custom-light: #cae282;
$custom-dark: #000000;
JSON
{
  "hex": "#afd547",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 71
  },
  "hsl": {
    "h": 76.056,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81887,
    "c": 0.17098,
    "h": 123.1
  },
  "luminance": 0.57157
}

Semantic roles & 50–950 ramp

primary
#AFD547
secondary
#4C368A
accent
#42E66E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD547

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

Preview Lab → · Contrast checker → · Palette generator →

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