#AF9029#AF9029

#AF9029 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.4% C 0.122 H 91.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AF9029
RGBrgb(175, 144, 41)
HSLhsl(46, 62%, 42%)
HSVhsv(46, 77%, 69%)
CMYKcmyk(0%, 17.7%, 76.6%, 31.4%)
CIE-LABlab(60.98, 1.11, 55.53)
CIE-LCHlch(60.98, 55.54, 88.86°)
OKLaboklab(66.41% -0.0028 0.1217)
OKLCHoklch(66.41% 0.122 91.3)
XYZxyz(28.0543, 29.2223, 6.2602)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9029 #2948AF
analogous
#AF4D29 #AF9029 #8BAF29
triadic
#AF9029 #29AF90 #9029AF
tetradic
#AF9029 #29AF4D #2948AF #AF298B
square
#AF9029 #29AF4D #2948AF #AF298B
split-complementary
#AF9029 #298BAF #4D29AF
monochromatic
#4C3E12 #7D671D #AF9029 #D3B142 #DEC674

Accessibility & contrast

On white

3.07
#AF9029 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#AF9029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9029
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9029#FFFFFF#000000##000000
##AF90291.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E16
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#BE847C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af9029;
/* rgb */ color: rgb(175, 144, 41);
/* oklch */ color: oklch(66.4% 0.122 91.3);
Tailwind
colors: {
  custom: {
    50: '#cbb06b',
    500: '#af9029',
    950: '#000000',
  },
}
SCSS
$custom: #af9029;
$custom-light: #cbb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#af9029",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 41
  },
  "hsl": {
    "h": 46.119,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66407,
    "c": 0.12177,
    "h": 91.3
  },
  "luminance": 0.29221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9029

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

Preview Lab → · Contrast checker → · Palette generator →

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