#AF9F33#AF9F33

#AF9F33 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.126 H 100.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AF9F33
RGBrgb(175, 159, 51)
HSLhsl(52, 55%, 44%)
HSVhsv(52, 71%, 69%)
CMYKcmyk(0%, 9.1%, 70.9%, 31.4%)
CIE-LABlab(65.08, -6.52, 55.66)
CIE-LCHlch(65.08, 56.04, 96.68°)
OKLaboklab(69.68% -0.0234 0.124)
OKLCHoklch(69.68% 0.126 100.7)
XYZxyz(30.6763, 34.1506, 8.1072)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F33 #3343AF
analogous
#AF6133 #AF9F33 #81AF33
triadic
#AF9F33 #33AF9F #9F33AF
tetradic
#AF9F33 #33AF61 #3343AF #AF3381
square
#AF9F33 #33AF61 #3343AF #AF3381
split-complementary
#AF9F33 #3381AF #6133AF
monochromatic
#504917 #807425 #AF9F33 #CDBD52 #DBCF82

Accessibility & contrast

On white

2.68
#AF9F33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AF9F33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F33
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F33#FFFFFF#000000##000000
##AF9F331.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A23
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#BC9489
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9f33;
/* rgb */ color: rgb(175, 159, 51);
/* oklch */ color: oklch(69.7% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#cabb71',
    500: '#af9f33',
    950: '#000000',
  },
}
SCSS
$custom: #af9f33;
$custom-light: #cabb71;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f33",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 51
  },
  "hsl": {
    "h": 52.258,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69677,
    "c": 0.12615,
    "h": 100.7
  },
  "luminance": 0.34149
}

Semantic roles & 50–950 ramp

primary
#AF9F33
secondary
#7A84C4
accent
#5DDE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9F33

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

Preview Lab → · Contrast checker → · Palette generator →

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