#AFA329#AFA329

#AFA329 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.136 H 103.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#AFA329
RGBrgb(175, 163, 41)
HSLhsl(55, 62%, 42%)
HSVhsv(55, 77%, 69%)
CMYKcmyk(0%, 6.9%, 76.6%, 31.4%)
CIE-LABlab(66.11, -9.10, 60.32)
CIE-LCHlch(66.11, 61.00, 98.58°)
OKLaboklab(70.48% -0.0317 0.132)
OKLCHoklch(70.48% 0.136 103.5)
XYZxyz(31.1780, 35.4698, 7.3015)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA329 #2935AF
analogous
#AF6029 #AFA329 #78AF29
triadic
#AFA329 #29AFA3 #A329AF
tetradic
#AFA329 #29AF60 #2935AF #AF2978
square
#AFA329 #29AF60 #2935AF #AF2978
split-complementary
#AFA329 #2978AF #6029AF
monochromatic
#4C4712 #7D751D #AFA329 #D3C642 #DED574

Accessibility & contrast

On white

2.59
#AFA329 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#AFA329 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA329
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA329#FFFFFF#000000##000000
##AFA3291.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0D
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#BD978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa329;
/* rgb */ color: rgb(175, 163, 41);
/* oklch */ color: oklch(70.5% 0.136 103.5);
Tailwind
colors: {
  custom: {
    50: '#cbbd6d',
    500: '#afa329',
    950: '#000000',
  },
}
SCSS
$custom: #afa329;
$custom-light: #cbbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa329",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 41
  },
  "hsl": {
    "h": 54.627,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70476,
    "c": 0.13572,
    "h": 103.5
  },
  "luminance": 0.35468
}

Semantic roles & 50–950 ramp

primary
#AFA329
secondary
#6E76C6
accent
#51E543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA329

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

Preview Lab → · Contrast checker → · Palette generator →

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