#AF9528#AF9528

#AF9528 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.5% C 0.125 H 94.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AF9528
RGBrgb(175, 149, 40)
HSLhsl(48, 63%, 42%)
HSVhsv(48, 77%, 69%)
CMYKcmyk(0%, 14.9%, 77.1%, 31.4%)
CIE-LABlab(62.31, -1.66, 57.14)
CIE-LCHlch(62.31, 57.16, 91.66°)
OKLaboklab(67.46% -0.0108 0.125)
OKLCHoklch(67.46% 0.125 94.9)
XYZxyz(28.8112, 30.7637, 6.4275)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9528 #2842AF
analogous
#AF5128 #AF9528 #86AF28
triadic
#AF9528 #28AF95 #9528AF
tetradic
#AF9528 #28AF51 #2842AF #AF2886
square
#AF9528 #28AF51 #2842AF #AF2886
split-complementary
#AF9528 #2886AF #5128AF
monochromatic
#4B4011 #7D6B1D #AF9528 #D4B741 #DFCA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9528#FFFFFF#000000##000000
##AF95281.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)
#A59212
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#BD8980
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9528;
/* rgb */ color: rgb(175, 149, 40);
/* oklch */ color: oklch(67.5% 0.125 94.9);
Tailwind
colors: {
  custom: {
    50: '#cbb36b',
    500: '#af9528',
    950: '#000000',
  },
}
SCSS
$custom: #af9528;
$custom-light: #cbb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#af9528",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 48.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67456,
    "c": 0.12544,
    "h": 94.9
  },
  "luminance": 0.30762
}

Semantic roles & 50–950 ramp

primary
#AF9528
secondary
#6D7EC6
accent
#62E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9528

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

Preview Lab → · Contrast checker → · Palette generator →

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