#AF9322#AF9322

#AF9322 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 67.0% C 0.127 H 94.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#AF9322
RGBrgb(175, 147, 34)
HSLhsl(48, 67%, 41%)
HSVhsv(48, 81%, 69%)
CMYKcmyk(0%, 16%, 80.6%, 31.4%)
CIE-LABlab(61.74, -0.80, 58.67)
CIE-LCHlch(61.74, 58.67, 90.78°)
OKLaboklab(67% -0.0089 0.127)
OKLCHoklch(67% 0.127 94)
XYZxyz(28.4033, 30.0986, 5.8266)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9322 #223EAF
analogous
#AF4C22 #AF9322 #84AF22
triadic
#AF9322 #22AF93 #9322AF
tetradic
#AF9322 #22AF4C #223EAF #AF2284
square
#AF9322 #22AF4C #223EAF #AF2284
split-complementary
#AF9322 #2284AF #4C22AF
monochromatic
#493D0E #7C6818 #AF9322 #D8B836 #E2CA69

Accessibility & contrast

On white

2.99
#AF9322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#AF9322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9322
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9322#FFFFFF#000000##000000
##AF93221.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49004
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#BE867E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9322;
/* rgb */ color: rgb(175, 147, 34);
/* oklch */ color: oklch(67.0% 0.127 94.0);
Tailwind
colors: {
  custom: {
    50: '#cbb268',
    500: '#af9322',
    950: '#000000',
  },
}
SCSS
$custom: #af9322;
$custom-light: #cbb268;
$custom-dark: #000000;
JSON
{
  "hex": "#af9322",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 48.085,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66997,
    "c": 0.12731,
    "h": 94
  },
  "luminance": 0.30097
}

Semantic roles & 50–950 ramp

primary
#AF9322
secondary
#6579C8
accent
#60EA3D
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9322

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

Preview Lab → · Contrast checker → · Palette generator →

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