#AFC543#AFC543

#AFC543 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 78.2% C 0.155 H 118.4°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#AFC543
RGBrgb(175, 197, 67)
HSLhsl(70, 53%, 52%)
HSVhsv(70, 66%, 77%)
CMYKcmyk(11.2%, 0%, 66%, 22.7%)
CIE-LABlab(75.73, -24.93, 60.14)
CIE-LCHlch(75.73, 65.10, 112.52°)
OKLaboklab(78.22% -0.0735 0.136)
OKLCHoklch(78.22% 0.155 118.4)
XYZxyz(38.6593, 49.4520, 12.8177)
Luminance0.4945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC543 #5943C5
analogous
#C59A43 #AFC543 #6EC543
triadic
#AFC543 #43AFC5 #C543AF
tetradic
#AFC543 #43C59A #5943C5 #C5436E
square
#AFC543 #43C59A #5943C5 #C5436E
split-complementary
#AFC543 #436EC5 #9A43C5
monochromatic
#606C21 #899B30 #AFC543 #C3D372 #D7E2A1

Accessibility & contrast

On white

1.93
#AFC543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#AFC543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC543
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC543#FFFFFF#000000##000000
##AFC5431.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA31
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#B9BBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc543;
/* rgb */ color: rgb(175, 197, 67);
/* oklch */ color: oklch(78.2% 0.155 118.4);
Tailwind
colors: {
  custom: {
    50: '#cad67e',
    500: '#afc543',
    950: '#000000',
  },
}
SCSS
$custom: #afc543;
$custom-light: #cad67e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc543",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 70.154,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78223,
    "c": 0.15459,
    "h": 118.4
  },
  "luminance": 0.49452
}

Semantic roles & 50–950 ramp

primary
#AFC543
secondary
#9F95CE
accent
#4CDC64
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC543

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

Preview Lab → · Contrast checker → · Palette generator →

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