#AF9C32#AF9C32

#AF9C32 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.0% C 0.124 H 98.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#AF9C32
RGBrgb(175, 156, 50)
HSLhsl(51, 56%, 44%)
HSVhsv(51, 71%, 69%)
CMYKcmyk(0%, 10.9%, 71.4%, 31.4%)
CIE-LABlab(64.26, -4.97, 55.24)
CIE-LCHlch(64.26, 55.46, 95.14°)
OKLaboklab(69.02% -0.0191 0.1229)
OKLCHoklch(69.02% 0.124 98.8)
XYZxyz(30.1448, 33.1226, 7.8225)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9C32 #3245AF
analogous
#AF5E32 #AF9C32 #84AF32
triadic
#AF9C32 #32AF9C #9C32AF
tetradic
#AF9C32 #32AF5E #3245AF #AF3284
square
#AF9C32 #32AF5E #3245AF #AF3284
split-complementary
#AF9C32 #3284AF #5E32AF
monochromatic
#504717 #7F7224 #AF9C32 #CDBA51 #DBCD81

Accessibility & contrast

On white

2.75
#AF9C32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#AF9C32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9C32
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9C32#FFFFFF#000000##000000
##AF9C321.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9822
Deuteranopia (green-blind)
#B09F38
Tritanopia (blue-blind)
#BD9087
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9c32;
/* rgb */ color: rgb(175, 156, 50);
/* oklch */ color: oklch(69.0% 0.124 98.8);
Tailwind
colors: {
  custom: {
    50: '#cab871',
    500: '#af9c32',
    950: '#000000',
  },
}
SCSS
$custom: #af9c32;
$custom-light: #cab871;
$custom-dark: #000000;
JSON
{
  "hex": "#af9c32",
  "rgb": {
    "r": 175,
    "g": 156,
    "b": 50
  },
  "hsl": {
    "h": 50.88,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69022,
    "c": 0.12437,
    "h": 98.8
  },
  "luminance": 0.33121
}

Semantic roles & 50–950 ramp

primary
#AF9C32
secondary
#7984C4
accent
#60DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9C32

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

Preview Lab → · Contrast checker → · Palette generator →

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