#AF9529#AF9529

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

Color values

HEX#AF9529
RGBrgb(175, 149, 41)
HSLhsl(48, 62%, 42%)
HSVhsv(48, 77%, 69%)
CMYKcmyk(0%, 14.9%, 76.6%, 31.4%)
CIE-LABlab(62.31, -1.62, 56.78)
CIE-LCHlch(62.31, 56.81, 91.63°)
OKLaboklab(67.46% -0.0105 0.1244)
OKLCHoklch(67.46% 0.125 94.8)
XYZxyz(28.8284, 30.7706, 6.5183)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9529 #2943AF
analogous
#AF5229 #AF9529 #86AF29
triadic
#AF9529 #29AF95 #9529AF
tetradic
#AF9529 #29AF52 #2943AF #AF2986
square
#AF9529 #29AF52 #2943AF #AF2986
split-complementary
#AF9529 #2986AF #5229AF
monochromatic
#4C4112 #7D6B1D #AF9529 #D3B742 #DECA74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9529#FFFFFF#000000##000000
##AF95291.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)
#A59214
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#BD8980
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9529;
/* rgb */ color: rgb(175, 149, 41);
/* oklch */ color: oklch(67.5% 0.125 94.8);
Tailwind
colors: {
  custom: {
    50: '#cbb36b',
    500: '#af9529',
    950: '#000000',
  },
}
SCSS
$custom: #af9529;
$custom-light: #cbb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#af9529",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 48.358,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67463,
    "c": 0.12488,
    "h": 94.8
  },
  "luminance": 0.30769
}

Semantic roles & 50–950 ramp

primary
#AF9529
secondary
#6E7FC6
accent
#62E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9529

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

Preview Lab → · Contrast checker → · Palette generator →

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