#AF9523#AF9523

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

Color values

HEX#AF9523
RGBrgb(175, 149, 35)
HSLhsl(49, 67%, 41%)
HSVhsv(49, 80%, 69%)
CMYKcmyk(0%, 14.9%, 80%, 31.4%)
CIE-LABlab(62.28, -1.85, 58.82)
CIE-LCHlch(62.28, 58.85, 91.80°)
OKLaboklab(67.43% -0.0118 0.1276)
OKLCHoklch(67.43% 0.128 95.3)
XYZxyz(28.7316, 30.7318, 6.0083)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9523 #233DAF
analogous
#AF4F23 #AF9523 #83AF23
triadic
#AF9523 #23AF95 #9523AF
tetradic
#AF9523 #23AF4F #233DAF #AF2383
square
#AF9523 #23AF4F #233DAF #AF2383
split-complementary
#AF9523 #2383AF #4F23AF
monochromatic
#493E0F #7C6A19 #AF9523 #D7BA38 #E1CB6B

Accessibility & contrast

On white

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

On black

7.15
#AF9523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9523
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9523#FFFFFF#000000##000000
##AF95231.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59205
Deuteranopia (green-blind)
#AC9A2B
Tritanopia (blue-blind)
#BE8980
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9523;
/* rgb */ color: rgb(175, 149, 35);
/* oklch */ color: oklch(67.4% 0.128 95.3);
Tailwind
colors: {
  custom: {
    50: '#cbb368',
    500: '#af9523',
    950: '#000000',
  },
}
SCSS
$custom: #af9523;
$custom-light: #cbb368;
$custom-dark: #000000;
JSON
{
  "hex": "#af9523",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 48.857,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67426,
    "c": 0.12809,
    "h": 95.3
  },
  "luminance": 0.3073
}

Semantic roles & 50–950 ramp

primary
#AF9523
secondary
#6678C7
accent
#5EEA3E
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9523

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

Preview Lab → · Contrast checker → · Palette generator →

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