#AF9522#AF9522

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

Color values

HEX#AF9522
RGBrgb(175, 149, 34)
HSLhsl(49, 67%, 41%)
HSVhsv(49, 81%, 69%)
CMYKcmyk(0%, 14.9%, 80.6%, 31.4%)
CIE-LABlab(62.28, -1.89, 59.14)
CIE-LCHlch(62.28, 59.17, 91.83°)
OKLaboklab(67.42% -0.012 0.128)
OKLCHoklch(67.42% 0.129 95.4)
XYZxyz(28.7170, 30.7260, 5.9312)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9522 #223CAF
analogous
#AF4E22 #AF9522 #82AF22
triadic
#AF9522 #22AF95 #9522AF
tetradic
#AF9522 #22AF4E #223CAF #AF2282
square
#AF9522 #22AF4E #223CAF #AF2282
split-complementary
#AF9522 #2282AF #4E22AF
monochromatic
#493E0E #7C6918 #AF9522 #D8BA36 #E2CC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9522#FFFFFF#000000##000000
##AF95221.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)
#A59202
Deuteranopia (green-blind)
#AC9A2A
Tritanopia (blue-blind)
#BE8980
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9522;
/* rgb */ color: rgb(175, 149, 34);
/* oklch */ color: oklch(67.4% 0.129 95.4);
Tailwind
colors: {
  custom: {
    50: '#cbb368',
    500: '#af9522',
    950: '#000000',
  },
}
SCSS
$custom: #af9522;
$custom-light: #cbb368;
$custom-dark: #000000;
JSON
{
  "hex": "#af9522",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 48.936,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67421,
    "c": 0.12859,
    "h": 95.4
  },
  "luminance": 0.30724
}

Semantic roles & 50–950 ramp

primary
#AF9522
secondary
#6577C8
accent
#5DEA3D
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9522

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

Preview Lab → · Contrast checker → · Palette generator →

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