#AF9622#AF9622

#AF9622 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.6% C 0.129 H 96.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AF9622
RGBrgb(175, 150, 34)
HSLhsl(49, 67%, 41%)
HSVhsv(49, 81%, 69%)
CMYKcmyk(0%, 14.3%, 80.6%, 31.4%)
CIE-LABlab(62.54, -2.43, 59.38)
CIE-LCHlch(62.54, 59.43, 92.34°)
OKLaboklab(67.63% -0.0135 0.1285)
OKLCHoklch(67.63% 0.129 96)
XYZxyz(28.8759, 31.0438, 5.9842)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9622 #223BAF
analogous
#AF4F22 #AF9622 #81AF22
triadic
#AF9622 #22AF96 #9622AF
tetradic
#AF9622 #22AF4F #223BAF #AF2281
square
#AF9622 #22AF4F #223BAF #AF2281
split-complementary
#AF9622 #2281AF #4F22AF
monochromatic
#493E0E #7C6A18 #AF9622 #D8BB36 #E2CD69

Accessibility & contrast

On white

2.91
#AF9622 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AF9622 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9622
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9622#FFFFFF#000000##000000
##AF96221.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69302
Deuteranopia (green-blind)
#AD9B2A
Tritanopia (blue-blind)
#BE8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9622;
/* rgb */ color: rgb(175, 150, 34);
/* oklch */ color: oklch(67.6% 0.129 96.0);
Tailwind
colors: {
  custom: {
    50: '#cbb468',
    500: '#af9622',
    950: '#000000',
  },
}
SCSS
$custom: #af9622;
$custom-light: #cbb468;
$custom-dark: #000000;
JSON
{
  "hex": "#af9622",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 49.362,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67633,
    "c": 0.12925,
    "h": 96
  },
  "luminance": 0.31042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9622

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

Preview Lab → · Contrast checker → · Palette generator →

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