#AFC532#AFC532

#AFC532 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#AFC532
RGBrgb(175, 197, 50)
HSLhsl(69, 60%, 48%)
HSVhsv(69, 75%, 77%)
CMYKcmyk(11.2%, 0%, 74.6%, 22.7%)
CIE-LABlab(75.62, -25.87, 66.21)
CIE-LCHlch(75.62, 71.09, 111.34°)
OKLaboklab(78.1% -0.0776 0.1461)
OKLCHoklch(78.1% 0.165 118)
XYZxyz(38.2221, 49.2771, 10.5149)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC532 #4832C5
analogous
#C59132 #AFC532 #65C532
triadic
#AFC532 #32AFC5 #C532AF
tetradic
#AFC532 #32C591 #4832C5 #C53265
square
#AFC532 #32C591 #4832C5 #C53265
split-complementary
#AFC532 #3265C5 #9132C5
monochromatic
#586319 #849426 #AFC532 #C4D65E #D6E38F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC532#FFFFFF#000000##000000
##AFC5321.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)
#D2BA10
Deuteranopia (green-blind)
#D0BB3F
Tritanopia (blue-blind)
#BABAA9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc532;
/* rgb */ color: rgb(175, 197, 50);
/* oklch */ color: oklch(78.1% 0.165 118.0);
Tailwind
colors: {
  custom: {
    50: '#cad675',
    500: '#afc532',
    950: '#000000',
  },
}
SCSS
$custom: #afc532;
$custom-light: #cad675;
$custom-dark: #000000;
JSON
{
  "hex": "#afc532",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 50
  },
  "hsl": {
    "h": 68.98,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78101,
    "c": 0.16541,
    "h": 118
  },
  "luminance": 0.49277
}

Semantic roles & 50–950 ramp

primary
#AFC532
secondary
#9086CD
accent
#45E35D
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC532

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

Preview Lab → · Contrast checker → · Palette generator →

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