#AF9129#AF9129

#AF9129 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.6% C 0.122 H 92.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AF9129
RGBrgb(175, 145, 41)
HSLhsl(47, 62%, 42%)
HSVhsv(47, 77%, 69%)
CMYKcmyk(0%, 17.1%, 76.6%, 31.4%)
CIE-LABlab(61.24, 0.56, 55.78)
CIE-LCHlch(61.24, 55.78, 89.42°)
OKLaboklab(66.62% -0.0043 0.1223)
OKLCHoklch(66.62% 0.122 92)
XYZxyz(28.2064, 29.5266, 6.3109)
Luminance0.2953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9129 #2947AF
analogous
#AF4E29 #AF9129 #8AAF29
triadic
#AF9129 #29AF91 #9129AF
tetradic
#AF9129 #29AF4E #2947AF #AF298A
square
#AF9129 #29AF4E #2947AF #AF298A
split-complementary
#AF9129 #298AAF #4E29AF
monochromatic
#4C3F12 #7D681D #AF9129 #D3B242 #DEC774

Accessibility & contrast

On white

3.04
#AF9129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AF9129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9129
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9129#FFFFFF#000000##000000
##AF91291.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F16
Deuteranopia (green-blind)
#A9972F
Tritanopia (blue-blind)
#BE857D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9129;
/* rgb */ color: rgb(175, 145, 41);
/* oklch */ color: oklch(66.6% 0.122 92.0);
Tailwind
colors: {
  custom: {
    50: '#cbb06b',
    500: '#af9129',
    950: '#000000',
  },
}
SCSS
$custom: #af9129;
$custom-light: #cbb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#af9129",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 41
  },
  "hsl": {
    "h": 46.567,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66617,
    "c": 0.12236,
    "h": 92
  },
  "luminance": 0.29525
}

Semantic roles & 50–950 ramp

primary
#AF9129
secondary
#6E82C6
accent
#67E543
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9129

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

Preview Lab → · Contrast checker → · Palette generator →

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