#AF9629#AF9629

#AF9629 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.126 H 95.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AF9629
RGBrgb(175, 150, 41)
HSLhsl(49, 62%, 42%)
HSVhsv(49, 77%, 69%)
CMYKcmyk(0%, 14.3%, 76.6%, 31.4%)
CIE-LABlab(62.58, -2.16, 57.04)
CIE-LCHlch(62.58, 57.08, 92.17°)
OKLaboklab(67.68% -0.0121 0.125)
OKLCHoklch(67.68% 0.126 95.5)
XYZxyz(28.9873, 31.0884, 6.5712)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9629 #2942AF
analogous
#AF5329 #AF9629 #85AF29
triadic
#AF9629 #29AF96 #9629AF
tetradic
#AF9629 #29AF53 #2942AF #AF2985
square
#AF9629 #29AF53 #2942AF #AF2985
split-complementary
#AF9629 #2985AF #5329AF
monochromatic
#4C4112 #7D6C1D #AF9629 #D3B842 #DECB74

Accessibility & contrast

On white

2.91
#AF9629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AF9629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9629
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9629#FFFFFF#000000##000000
##AF96291.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69314
Deuteranopia (green-blind)
#AC9B30
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9629;
/* rgb */ color: rgb(175, 150, 41);
/* oklch */ color: oklch(67.7% 0.126 95.5);
Tailwind
colors: {
  custom: {
    50: '#cbb46b',
    500: '#af9629',
    950: '#000000',
  },
}
SCSS
$custom: #af9629;
$custom-light: #cbb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#af9629",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 41
  },
  "hsl": {
    "h": 48.806,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67675,
    "c": 0.12554,
    "h": 95.5
  },
  "luminance": 0.31087
}

Semantic roles & 50–950 ramp

primary
#AF9629
secondary
#6E7EC6
accent
#61E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9629

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

Preview Lab → · Contrast checker → · Palette generator →

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