#AFA132#AFA132

#AFA132 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.129 H 102.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AFA132
RGBrgb(175, 161, 50)
HSLhsl(53, 56%, 44%)
HSVhsv(53, 71%, 69%)
CMYKcmyk(0%, 8%, 71.4%, 31.4%)
CIE-LABlab(65.62, -7.63, 56.58)
CIE-LCHlch(65.62, 57.10, 97.68°)
OKLaboklab(70.1% -0.0267 0.1257)
OKLCHoklch(70.1% 0.129 102)
XYZxyz(31.0012, 34.8353, 8.1079)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA132 #3240AF
analogous
#AF6332 #AFA132 #7FAF32
triadic
#AFA132 #32AFA1 #A132AF
tetradic
#AFA132 #32AF63 #3240AF #AF327F
square
#AFA132 #32AF63 #3240AF #AF327F
split-complementary
#AFA132 #327FAF #6332AF
monochromatic
#504917 #7F7524 #AFA132 #CDBF51 #DBD181

Accessibility & contrast

On white

2.64
#AFA132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AFA132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA132
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA132#FFFFFF#000000##000000
##AFA1321.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C20
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#BC968B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa132;
/* rgb */ color: rgb(175, 161, 50);
/* oklch */ color: oklch(70.1% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#cabc71',
    500: '#afa132',
    950: '#000000',
  },
}
SCSS
$custom: #afa132;
$custom-light: #cabc71;
$custom-dark: #000000;
JSON
{
  "hex": "#afa132",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 50
  },
  "hsl": {
    "h": 53.28,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70102,
    "c": 0.12854,
    "h": 102
  },
  "luminance": 0.34834
}

Semantic roles & 50–950 ramp

primary
#AFA132
secondary
#7981C4
accent
#5ADF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA132

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

Preview Lab → · Contrast checker → · Palette generator →

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