#AF9933#AF9933

#AF9933 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.4% C 0.121 H 96.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AF9933
RGBrgb(175, 153, 51)
HSLhsl(49, 55%, 44%)
HSVhsv(49, 71%, 69%)
CMYKcmyk(0%, 12.6%, 70.9%, 31.4%)
CIE-LABlab(63.46, -3.31, 54.03)
CIE-LCHlch(63.46, 54.13, 93.50°)
OKLaboklab(68.39% -0.0142 0.1205)
OKLCHoklch(68.39% 0.121 96.7)
XYZxyz(29.6694, 32.1370, 7.7716)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9933 #3349AF
analogous
#AF5B33 #AF9933 #87AF33
triadic
#AF9933 #33AF99 #9933AF
tetradic
#AF9933 #33AF5B #3349AF #AF3387
square
#AF9933 #33AF5B #3349AF #AF3387
split-complementary
#AF9933 #3387AF #5B33AF
monochromatic
#504617 #807025 #AF9933 #CDB752 #DBCB82

Accessibility & contrast

On white

2.83
#AF9933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AF9933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9933
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9933#FFFFFF#000000##000000
##AF99331.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89624
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9933;
/* rgb */ color: rgb(175, 153, 51);
/* oklch */ color: oklch(68.4% 0.121 96.7);
Tailwind
colors: {
  custom: {
    50: '#cab671',
    500: '#af9933',
    950: '#000000',
  },
}
SCSS
$custom: #af9933;
$custom-light: #cab671;
$custom-dark: #000000;
JSON
{
  "hex": "#af9933",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 49.355,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68388,
    "c": 0.12137,
    "h": 96.7
  },
  "luminance": 0.32135
}

Semantic roles & 50–950 ramp

primary
#AF9933
secondary
#7A87C4
accent
#64DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9933

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

Preview Lab → · Contrast checker → · Palette generator →

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