#AF9429#AF9429

#AF9429 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 67.3% C 0.124 H 94.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AF9429
RGBrgb(175, 148, 41)
HSLhsl(48, 62%, 42%)
HSVhsv(48, 77%, 69%)
CMYKcmyk(0%, 15.4%, 76.6%, 31.4%)
CIE-LABlab(62.05, -1.07, 56.53)
CIE-LCHlch(62.05, 56.54, 91.09°)
OKLaboklab(67.25% -0.009 0.1239)
OKLCHoklch(67.25% 0.124 94.2)
XYZxyz(28.6709, 30.4555, 6.4658)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9429 #2944AF
analogous
#AF5129 #AF9429 #87AF29
triadic
#AF9429 #29AF94 #9429AF
tetradic
#AF9429 #29AF51 #2944AF #AF2987
square
#AF9429 #29AF51 #2944AF #AF2987
split-complementary
#AF9429 #2987AF #5129AF
monochromatic
#4C4012 #7D6A1D #AF9429 #D3B642 #DEC974

Accessibility & contrast

On white

2.96
#AF9429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AF9429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9429
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9429#FFFFFF#000000##000000
##AF94291.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49115
Deuteranopia (green-blind)
#AB9930
Tritanopia (blue-blind)
#BD887F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9429;
/* rgb */ color: rgb(175, 148, 41);
/* oklch */ color: oklch(67.3% 0.124 94.2);
Tailwind
colors: {
  custom: {
    50: '#cbb36b',
    500: '#af9429',
    950: '#000000',
  },
}
SCSS
$custom: #af9429;
$custom-light: #cbb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#af9429",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 41
  },
  "hsl": {
    "h": 47.91,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67251,
    "c": 0.12422,
    "h": 94.2
  },
  "luminance": 0.30454
}

Semantic roles & 50–950 ramp

primary
#AF9429
secondary
#6E80C6
accent
#63E543
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9429

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

Preview Lab → · Contrast checker → · Palette generator →

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