#AF9326#AF9326

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

Color values

HEX#AF9326
RGBrgb(175, 147, 38)
HSLhsl(48, 64%, 42%)
HSVhsv(48, 78%, 69%)
CMYKcmyk(0%, 16%, 78.3%, 31.4%)
CIE-LABlab(61.76, -0.65, 57.34)
CIE-LCHlch(61.76, 57.34, 90.65°)
OKLaboklab(67.02% -0.0081 0.125)
OKLCHoklch(67.02% 0.125 93.7)
XYZxyz(28.4644, 30.1230, 6.1484)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9326 #2642AF
analogous
#AF4F26 #AF9326 #87AF26
triadic
#AF9326 #26AF93 #9326AF
tetradic
#AF9326 #26AF4F #2642AF #AF2687
square
#AF9326 #26AF4F #2642AF #AF2687
split-complementary
#AF9326 #2687AF #4F26AF
monochromatic
#4A3F10 #7D691B #AF9326 #D5B63D #E0C970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9326#FFFFFF#000000##000000
##AF93261.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)
#A3900F
Deuteranopia (green-blind)
#AA992D
Tritanopia (blue-blind)
#BE877E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9326;
/* rgb */ color: rgb(175, 147, 38);
/* oklch */ color: oklch(67.0% 0.125 93.7);
Tailwind
colors: {
  custom: {
    50: '#cbb269',
    500: '#af9326',
    950: '#000000',
  },
}
SCSS
$custom: #af9326;
$custom-light: #cbb269;
$custom-dark: #000000;
JSON
{
  "hex": "#af9326",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 38
  },
  "hsl": {
    "h": 47.737,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6702,
    "c": 0.12525,
    "h": 93.7
  },
  "luminance": 0.30121
}

Semantic roles & 50–950 ramp

primary
#AF9326
secondary
#6A7DC7
accent
#63E740
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9326

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

Preview Lab → · Contrast checker → · Palette generator →

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