#AF9525#AF9525

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

Color values

HEX#AF9525
RGBrgb(175, 149, 37)
HSLhsl(49, 65%, 42%)
HSVhsv(49, 79%, 69%)
CMYKcmyk(0%, 14.9%, 78.9%, 31.4%)
CIE-LABlab(62.29, -1.78, 58.17)
CIE-LCHlch(62.29, 58.20, 91.75°)
OKLaboklab(67.44% -0.0114 0.1266)
OKLCHoklch(67.44% 0.127 95.1)
XYZxyz(28.7622, 30.7441, 6.1692)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9525 #253FAF
analogous
#AF5025 #AF9525 #84AF25
triadic
#AF9525 #25AF95 #9525AF
tetradic
#AF9525 #25AF50 #253FAF #AF2584
square
#AF9525 #25AF50 #253FAF #AF2584
split-complementary
#AF9525 #2584AF #5025AF
monochromatic
#4A3F10 #7C6A1A #AF9525 #D6B93C #E0CB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9525#FFFFFF#000000##000000
##AF95251.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)
#A5920B
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#BD8980
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9525;
/* rgb */ color: rgb(175, 149, 37);
/* oklch */ color: oklch(67.4% 0.127 95.1);
Tailwind
colors: {
  custom: {
    50: '#cbb369',
    500: '#af9525',
    950: '#000000',
  },
}
SCSS
$custom: #af9525;
$custom-light: #cbb369;
$custom-dark: #000000;
JSON
{
  "hex": "#af9525",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 48.696,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67438,
    "c": 0.12707,
    "h": 95.1
  },
  "luminance": 0.30742
}

Semantic roles & 50–950 ramp

primary
#AF9525
secondary
#697BC7
accent
#5FE840
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9525

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

Preview Lab → · Contrast checker → · Palette generator →

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