#AF9526#AF9526

#AF9526 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#AF9526
RGBrgb(175, 149, 38)
HSLhsl(49, 64%, 42%)
HSVhsv(49, 78%, 69%)
CMYKcmyk(0%, 14.9%, 78.3%, 31.4%)
CIE-LABlab(62.30, -1.74, 57.83)
CIE-LCHlch(62.30, 57.86, 91.72°)
OKLaboklab(67.44% -0.0112 0.126)
OKLCHoklch(67.44% 0.127 95.1)
XYZxyz(28.7781, 30.7504, 6.2530)
Luminance0.3075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9526 #2640AF
analogous
#AF5126 #AF9526 #85AF26
triadic
#AF9526 #26AF95 #9526AF
tetradic
#AF9526 #26AF51 #2640AF #AF2685
square
#AF9526 #26AF51 #2640AF #AF2685
split-complementary
#AF9526 #2685AF #5126AF
monochromatic
#4A3F10 #7D6A1B #AF9526 #D5B83D #E0CB70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #af9526;
/* rgb */ color: rgb(175, 149, 38);
/* oklch */ color: oklch(67.4% 0.127 95.1);
Tailwind
colors: {
  custom: {
    50: '#cbb36a',
    500: '#af9526',
    950: '#000000',
  },
}
SCSS
$custom: #af9526;
$custom-light: #cbb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9526",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 48.613,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67444,
    "c": 0.12654,
    "h": 95.1
  },
  "luminance": 0.30749
}

Semantic roles & 50–950 ramp

primary
#AF9526
secondary
#6A7CC7
accent
#60E740
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9526

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

Preview Lab → · Contrast checker → · Palette generator →

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