#AF9F29#AF9F29

#AF9F29 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.6% C 0.132 H 101.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#AF9F29
RGBrgb(175, 159, 41)
HSLhsl(53, 62%, 42%)
HSVhsv(53, 77%, 69%)
CMYKcmyk(0%, 9.1%, 76.6%, 31.4%)
CIE-LABlab(65.02, -6.99, 59.31)
CIE-LCHlch(65.02, 59.72, 96.72°)
OKLaboklab(69.61% -0.0257 0.1298)
OKLCHoklch(69.61% 0.132 101.2)
XYZxyz(30.4790, 34.0717, 7.0685)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F29 #2939AF
analogous
#AF5C29 #AF9F29 #7CAF29
triadic
#AF9F29 #29AF9F #9F29AF
tetradic
#AF9F29 #29AF5C #2939AF #AF297C
square
#AF9F29 #29AF5C #2939AF #AF297C
split-complementary
#AF9F29 #297CAF #5C29AF
monochromatic
#4C4512 #7D721D #AF9F29 #D3C242 #DED274

Accessibility & contrast

On white

2.69
#AF9F29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#AF9F29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F29
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F29#FFFFFF#000000##000000
##AF9F291.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A10
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#BD9389
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9f29;
/* rgb */ color: rgb(175, 159, 41);
/* oklch */ color: oklch(69.6% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#cbbb6c',
    500: '#af9f29',
    950: '#000000',
  },
}
SCSS
$custom: #af9f29;
$custom-light: #cbbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f29",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 41
  },
  "hsl": {
    "h": 52.836,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.13233,
    "h": 101.2
  },
  "luminance": 0.3407
}

Semantic roles & 50–950 ramp

primary
#AF9F29
secondary
#6E78C6
accent
#56E543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AF9F29

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

Preview Lab → · Contrast checker → · Palette generator →

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