#AFD543#AFD543

#AFD543 is a light, vivid yellow-green. Relative luminance 0.571; OKLCH L 81.9% C 0.174 H 123.0°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#AFD543
RGBrgb(175, 213, 67)
HSLhsl(76, 63%, 55%)
HSVhsv(76, 69%, 84%)
CMYKcmyk(17.8%, 0%, 68.5%, 16.5%)
CIE-LABlab(80.24, -32.52, 64.76)
CIE-LCHlch(80.24, 72.47, 116.67°)
OKLaboklab(81.86% -0.0945 0.1457)
OKLCHoklch(81.86% 0.174 123)
XYZxyz(42.4870, 57.1075, 14.0936)
Luminance0.5711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD543 #6943D5
analogous
#D5B243 #AFD543 #66D543
triadic
#AFD543 #43AFD5 #D543AF
tetradic
#AFD543 #43D5B2 #6943D5 #D54366
square
#AFD543 #43D5B2 #6943D5 #D54366
split-complementary
#AFD543 #4366D5 #B243D5
monochromatic
#67811D #8FB328 #AFD543 #C4E075 #DAEBA7

Accessibility & contrast

On white

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

On black

12.42
#AFD543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD543
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD543#FFFFFF#000000##000000
##AFD5431.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82C
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#B8CBB8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd543;
/* rgb */ color: rgb(175, 213, 67);
/* oklch */ color: oklch(81.9% 0.174 123.0);
Tailwind
colors: {
  custom: {
    50: '#cae27f',
    500: '#afd543',
    950: '#000000',
  },
}
SCSS
$custom: #afd543;
$custom-light: #cae27f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd543",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 67
  },
  "hsl": {
    "h": 75.616,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81855,
    "c": 0.17369,
    "h": 123
  },
  "luminance": 0.57108
}

Semantic roles & 50–950 ramp

primary
#AFD543
secondary
#4A3488
accent
#41E76C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD543

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

Preview Lab → · Contrast checker → · Palette generator →

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