#AF9533#AF9533

#AF9533 is a light, moderate yellow. Relative luminance 0.308; OKLCH L 67.5% C 0.119 H 93.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AF9533
RGBrgb(175, 149, 51)
HSLhsl(47, 55%, 44%)
HSVhsv(47, 71%, 69%)
CMYKcmyk(0%, 14.9%, 70.9%, 31.4%)
CIE-LABlab(62.38, -1.14, 52.95)
CIE-LCHlch(62.38, 52.96, 91.23°)
OKLaboklab(67.54% -0.0081 0.1182)
OKLCHoklch(67.54% 0.119 93.9)
XYZxyz(29.0257, 30.8495, 7.5570)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9533 #334DAF
analogous
#AF5733 #AF9533 #8BAF33
triadic
#AF9533 #33AF95 #9533AF
tetradic
#AF9533 #33AF57 #334DAF #AF338B
square
#AF9533 #33AF57 #334DAF #AF338B
split-complementary
#AF9533 #338BAF #5733AF
monochromatic
#504417 #806D25 #AF9533 #CDB352 #DBC882

Accessibility & contrast

On white

2.93
#AF9533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AF9533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9533
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9533#FFFFFF#000000##000000
##AF95331.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59225
Deuteranopia (green-blind)
#AB9A38
Tritanopia (blue-blind)
#BD8981
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9533;
/* rgb */ color: rgb(175, 149, 51);
/* oklch */ color: oklch(67.5% 0.119 93.9);
Tailwind
colors: {
  custom: {
    50: '#cab371',
    500: '#af9533',
    950: '#000000',
  },
}
SCSS
$custom: #af9533;
$custom-light: #cab371;
$custom-dark: #000000;
JSON
{
  "hex": "#af9533",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 51
  },
  "hsl": {
    "h": 47.419,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67537,
    "c": 0.11851,
    "h": 93.9
  },
  "luminance": 0.30848
}

Semantic roles & 50–950 ramp

primary
#AF9533
secondary
#7A89C4
accent
#69DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9533

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

Preview Lab → · Contrast checker → · Palette generator →

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