#AF9323#AF9323

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

Color values

HEX#AF9323
RGBrgb(175, 147, 35)
HSLhsl(48, 67%, 41%)
HSVhsv(48, 80%, 69%)
CMYKcmyk(0%, 16%, 80%, 31.4%)
CIE-LABlab(61.74, -0.76, 58.34)
CIE-LCHlch(61.74, 58.35, 90.75°)
OKLaboklab(67% -0.0087 0.1265)
OKLCHoklch(67% 0.127 93.9)
XYZxyz(28.4179, 30.1044, 5.9037)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9323 #233FAF
analogous
#AF4D23 #AF9323 #85AF23
triadic
#AF9323 #23AF93 #9323AF
tetradic
#AF9323 #23AF4D #233FAF #AF2385
square
#AF9323 #23AF4D #233FAF #AF2385
split-complementary
#AF9323 #2385AF #4D23AF
monochromatic
#493D0F #7C6819 #AF9323 #D7B738 #E1CA6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9323#FFFFFF#000000##000000
##AF93231.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)
#A49007
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#BE877E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9323;
/* rgb */ color: rgb(175, 147, 35);
/* oklch */ color: oklch(67.0% 0.127 93.9);
Tailwind
colors: {
  custom: {
    50: '#cbb268',
    500: '#af9323',
    950: '#000000',
  },
}
SCSS
$custom: #af9323;
$custom-light: #cbb268;
$custom-dark: #000000;
JSON
{
  "hex": "#af9323",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 48,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67002,
    "c": 0.12681,
    "h": 93.9
  },
  "luminance": 0.30103
}

Semantic roles & 50–950 ramp

primary
#AF9323
secondary
#667AC7
accent
#60EA3E
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9323

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

Preview Lab → · Contrast checker → · Palette generator →

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