#AF9524#AF9524

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

Color values

HEX#AF9524
RGBrgb(175, 149, 36)
HSLhsl(49, 66%, 41%)
HSVhsv(49, 79%, 69%)
CMYKcmyk(0%, 14.9%, 79.4%, 31.4%)
CIE-LABlab(62.29, -1.81, 58.50)
CIE-LCHlch(62.29, 58.53, 91.78°)
OKLaboklab(67.43% -0.0116 0.1271)
OKLCHoklch(67.43% 0.128 95.2)
XYZxyz(28.7467, 30.7379, 6.0876)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9524 #243EAF
analogous
#AF5024 #AF9524 #84AF24
triadic
#AF9524 #24AF95 #9524AF
tetradic
#AF9524 #24AF50 #243EAF #AF2484
square
#AF9524 #24AF50 #243EAF #AF2484
split-complementary
#AF9524 #2484AF #5024AF
monochromatic
#493F0F #7C6A1A #AF9524 #D6B93A #E1CB6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9524#FFFFFF#000000##000000
##AF95241.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)
#A59208
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#BE8980
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9524;
/* rgb */ color: rgb(175, 149, 36);
/* oklch */ color: oklch(67.4% 0.128 95.2);
Tailwind
colors: {
  custom: {
    50: '#cbb369',
    500: '#af9524',
    950: '#000000',
  },
}
SCSS
$custom: #af9524;
$custom-light: #cbb369;
$custom-dark: #000000;
JSON
{
  "hex": "#af9524",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 48.777,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67432,
    "c": 0.12759,
    "h": 95.2
  },
  "luminance": 0.30736
}

Semantic roles & 50–950 ramp

primary
#AF9524
secondary
#6879C7
accent
#5FE93F
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9524

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

Preview Lab → · Contrast checker → · Palette generator →

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