#AF9520#AF9520

#AF9520 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.4% C 0.130 H 95.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AF9520
RGBrgb(175, 149, 32)
HSLhsl(49, 69%, 41%)
HSVhsv(49, 82%, 69%)
CMYKcmyk(0%, 14.9%, 81.7%, 31.4%)
CIE-LABlab(62.27, -1.95, 59.76)
CIE-LCHlch(62.27, 59.79, 91.87°)
OKLaboklab(67.41% -0.0124 0.1289)
OKLCHoklch(67.41% 0.13 95.5)
XYZxyz(28.6890, 30.7148, 5.7837)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9520 #203AAF
analogous
#AF4D20 #AF9520 #81AF20
triadic
#AF9520 #20AF95 #9520AF
tetradic
#AF9520 #20AF4D #203AAF #AF2081
square
#AF9520 #20AF4D #203AAF #AF2081
split-complementary
#AF9520 #2081AF #4D20AF
monochromatic
#483D0D #7B6917 #AF9520 #DABB33 #E3CC66

Accessibility & contrast

On white

2.94
#AF9520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AF9520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9520
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9520#FFFFFF#000000##000000
##AF95201.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#AC9A29
Tritanopia (blue-blind)
#BE8980
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9520;
/* rgb */ color: rgb(175, 149, 32);
/* oklch */ color: oklch(67.4% 0.130 95.5);
Tailwind
colors: {
  custom: {
    50: '#cbb367',
    500: '#af9520',
    950: '#000000',
  },
}
SCSS
$custom: #af9520;
$custom-light: #cbb367;
$custom-dark: #000000;
JSON
{
  "hex": "#af9520",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 49.091,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6741,
    "c": 0.12953,
    "h": 95.5
  },
  "luminance": 0.30713
}

Semantic roles & 50–950 ramp

primary
#AF9520
secondary
#6275C8
accent
#5CEC3C
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9520

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

Preview Lab → · Contrast checker → · Palette generator →

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