#AFC432#AFC432

#AFC432 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 77.9% C 0.164 H 117.7°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#AFC432
RGBrgb(175, 196, 50)
HSLhsl(69, 59%, 48%)
HSVhsv(69, 74%, 77%)
CMYKcmyk(10.7%, 0%, 74.5%, 23.1%)
CIE-LABlab(75.34, -25.39, 65.95)
CIE-LCHlch(75.34, 70.67, 111.05°)
OKLaboklab(77.88% -0.0763 0.1455)
OKLCHoklch(77.88% 0.164 117.7)
XYZxyz(37.9957, 48.8245, 10.4395)
Luminance0.4882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC432 #4732C4
analogous
#C49032 #AFC432 #66C432
triadic
#AFC432 #32AFC4 #C432AF
tetradic
#AFC432 #32C490 #4732C4 #C43266
square
#AFC432 #32C490 #4732C4 #C43266
split-complementary
#AFC432 #3266C4 #9032C4
monochromatic
#586219 #839326 #AFC432 #C4D65D #D6E28E

Accessibility & contrast

On white

1.95
#AFC432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#AFC432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC432
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC432#FFFFFF#000000##000000
##AFC4321.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B910
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#BAB9A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc432;
/* rgb */ color: rgb(175, 196, 50);
/* oklch */ color: oklch(77.9% 0.164 117.7);
Tailwind
colors: {
  custom: {
    50: '#cad575',
    500: '#afc432',
    950: '#000000',
  },
}
SCSS
$custom: #afc432;
$custom-light: #cad575;
$custom-dark: #000000;
JSON
{
  "hex": "#afc432",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 50
  },
  "hsl": {
    "h": 68.63,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77875,
    "c": 0.1643,
    "h": 117.7
  },
  "luminance": 0.48824
}

Semantic roles & 50–950 ramp

primary
#AFC432
secondary
#8F85CD
accent
#45E35C
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC432

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

Preview Lab → · Contrast checker → · Palette generator →

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