#AF9929#AF9929

#AF9929 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.3% C 0.128 H 97.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AF9929
RGBrgb(175, 153, 41)
HSLhsl(50, 62%, 42%)
HSVhsv(50, 77%, 69%)
CMYKcmyk(0%, 12.6%, 76.6%, 31.4%)
CIE-LABlab(63.39, -3.78, 57.79)
CIE-LCHlch(63.39, 57.92, 93.74°)
OKLaboklab(68.32% -0.0167 0.1266)
OKLCHoklch(68.32% 0.128 97.5)
XYZxyz(29.4722, 32.0581, 6.7328)
Luminance0.3206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9929 #293FAF
analogous
#AF5629 #AF9929 #82AF29
triadic
#AF9929 #29AF99 #9929AF
tetradic
#AF9929 #29AF56 #293FAF #AF2982
square
#AF9929 #29AF56 #293FAF #AF2982
split-complementary
#AF9929 #2982AF #5629AF
monochromatic
#4C4212 #7D6E1D #AF9929 #D3BB42 #DECD74

Accessibility & contrast

On white

2.83
#AF9929 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AF9929 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9929
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9929#FFFFFF#000000##000000
##AF99291.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99513
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9929;
/* rgb */ color: rgb(175, 153, 41);
/* oklch */ color: oklch(68.3% 0.128 97.5);
Tailwind
colors: {
  custom: {
    50: '#cbb66c',
    500: '#af9929',
    950: '#000000',
  },
}
SCSS
$custom: #af9929;
$custom-light: #cbb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9929",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 41
  },
  "hsl": {
    "h": 50.149,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68315,
    "c": 0.12766,
    "h": 97.5
  },
  "luminance": 0.32057
}

Semantic roles & 50–950 ramp

primary
#AF9929
secondary
#6E7CC6
accent
#5DE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9929

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

Preview Lab → · Contrast checker → · Palette generator →

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