#AF9B32#AF9B32

#AF9B32 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.124 H 98.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AF9B32
RGBrgb(175, 155, 50)
HSLhsl(50, 56%, 44%)
HSVhsv(50, 71%, 69%)
CMYKcmyk(0%, 11.4%, 71.4%, 31.4%)
CIE-LABlab(63.99, -4.43, 54.97)
CIE-LCHlch(63.99, 55.15, 94.61°)
OKLaboklab(68.81% -0.0176 0.1223)
OKLCHoklch(68.81% 0.124 98.2)
XYZxyz(29.9777, 32.7884, 7.7668)
Luminance0.3279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B32 #3246AF
analogous
#AF5D32 #AF9B32 #85AF32
triadic
#AF9B32 #32AF9B #9B32AF
tetradic
#AF9B32 #32AF5D #3246AF #AF3285
square
#AF9B32 #32AF5D #3246AF #AF3285
split-complementary
#AF9B32 #3285AF #5D32AF
monochromatic
#504717 #7F7124 #AF9B32 #CDB951 #DBCC81

Accessibility & contrast

On white

2.78
#AF9B32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AF9B32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B32
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B32#FFFFFF#000000##000000
##AF9B321.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9722
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#BD8F86
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9b32;
/* rgb */ color: rgb(175, 155, 50);
/* oklch */ color: oklch(68.8% 0.124 98.2);
Tailwind
colors: {
  custom: {
    50: '#cab871',
    500: '#af9b32',
    950: '#000000',
  },
}
SCSS
$custom: #af9b32;
$custom-light: #cab871;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b32",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 50
  },
  "hsl": {
    "h": 50.4,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68808,
    "c": 0.12358,
    "h": 98.2
  },
  "luminance": 0.32787
}

Semantic roles & 50–950 ramp

primary
#AF9B32
secondary
#7985C4
accent
#61DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9B32

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

Preview Lab → · Contrast checker → · Palette generator →

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