#AF9D33#AF9D33

#AF9D33 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.2% C 0.124 H 99.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AF9D33
RGBrgb(175, 157, 51)
HSLhsl(51, 55%, 44%)
HSVhsv(51, 71%, 69%)
CMYKcmyk(0%, 10.3%, 70.9%, 31.4%)
CIE-LABlab(64.54, -5.45, 55.11)
CIE-LCHlch(64.54, 55.38, 95.65°)
OKLaboklab(69.25% -0.0204 0.1228)
OKLCHoklch(69.25% 0.125 99.4)
XYZxyz(30.3351, 33.4683, 7.9935)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D33 #3345AF
analogous
#AF5F33 #AF9D33 #83AF33
triadic
#AF9D33 #33AF9D #9D33AF
tetradic
#AF9D33 #33AF5F #3345AF #AF3383
square
#AF9D33 #33AF5F #3345AF #AF3383
split-complementary
#AF9D33 #3383AF #5F33AF
monochromatic
#504817 #807225 #AF9D33 #CDBB52 #DBCE82

Accessibility & contrast

On white

2.73
#AF9D33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AF9D33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D33
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D33#FFFFFF#000000##000000
##AF9D331.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9923
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#BD9188
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9d33;
/* rgb */ color: rgb(175, 157, 51);
/* oklch */ color: oklch(69.2% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#cab971',
    500: '#af9d33',
    950: '#000000',
  },
}
SCSS
$custom: #af9d33;
$custom-light: #cab971;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d33",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 51
  },
  "hsl": {
    "h": 51.29,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69245,
    "c": 0.1245,
    "h": 99.4
  },
  "luminance": 0.33467
}

Semantic roles & 50–950 ramp

primary
#AF9D33
secondary
#7A85C4
accent
#5FDE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9D33

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

Preview Lab → · Contrast checker → · Palette generator →

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