#AFC533#AFC533

#AFC533 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.165 H 118.0°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#AFC533
RGBrgb(175, 197, 51)
HSLhsl(69, 59%, 49%)
HSVhsv(69, 74%, 77%)
CMYKcmyk(11.2%, 0%, 74.1%, 22.7%)
CIE-LABlab(75.63, -25.82, 65.89)
CIE-LCHlch(75.63, 70.77, 111.40°)
OKLaboklab(78.11% -0.0774 0.1456)
OKLCHoklch(78.11% 0.165 118)
XYZxyz(38.2439, 49.2859, 10.6298)
Luminance0.4929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC533 #4933C5
analogous
#C59233 #AFC533 #66C533
triadic
#AFC533 #33AFC5 #C533AF
tetradic
#AFC533 #33C592 #4933C5 #C53366
square
#AFC533 #33C592 #4933C5 #C53366
split-complementary
#AFC533 #3366C5 #9233C5
monochromatic
#59641A #849426 #AFC533 #C4D65F #D6E290

Accessibility & contrast

On white

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

On black

10.86
#AFC533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC533
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC533#FFFFFF#000000##000000
##AFC5331.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA13
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc533;
/* rgb */ color: rgb(175, 197, 51);
/* oklch */ color: oklch(78.1% 0.165 118.0);
Tailwind
colors: {
  custom: {
    50: '#cad676',
    500: '#afc533',
    950: '#000000',
  },
}
SCSS
$custom: #afc533;
$custom-light: #cad676;
$custom-dark: #000000;
JSON
{
  "hex": "#afc533",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 51
  },
  "hsl": {
    "h": 69.041,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78107,
    "c": 0.16486,
    "h": 118
  },
  "luminance": 0.49285
}

Semantic roles & 50–950 ramp

primary
#AFC533
secondary
#9187CD
accent
#46E25D
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC533

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

Preview Lab → · Contrast checker → · Palette generator →

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