#AF9733#AF9733

#AF9733 is a light, moderate yellow. Relative luminance 0.315; OKLCH L 68.0% C 0.120 H 95.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AF9733
RGBrgb(175, 151, 51)
HSLhsl(48, 55%, 44%)
HSVhsv(48, 71%, 69%)
CMYKcmyk(0%, 13.7%, 70.9%, 31.4%)
CIE-LABlab(62.92, -2.22, 53.49)
CIE-LCHlch(62.92, 53.54, 92.38°)
OKLaboklab(67.96% -0.0112 0.1194)
OKLCHoklch(67.96% 0.12 95.3)
XYZxyz(29.3448, 31.4878, 7.6634)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9733 #334BAF
analogous
#AF5933 #AF9733 #89AF33
triadic
#AF9733 #33AF97 #9733AF
tetradic
#AF9733 #33AF59 #334BAF #AF3389
square
#AF9733 #33AF59 #334BAF #AF3389
split-complementary
#AF9733 #3389AF #5933AF
monochromatic
#504517 #806E25 #AF9733 #CDB552 #DBC982

Accessibility & contrast

On white

2.88
#AF9733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AF9733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9733
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9733#FFFFFF#000000##000000
##AF97331.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79425
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#BD8B83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af9733;
/* rgb */ color: rgb(175, 151, 51);
/* oklch */ color: oklch(68.0% 0.120 95.3);
Tailwind
colors: {
  custom: {
    50: '#cab571',
    500: '#af9733',
    950: '#000000',
  },
}
SCSS
$custom: #af9733;
$custom-light: #cab571;
$custom-dark: #000000;
JSON
{
  "hex": "#af9733",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 48.387,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67961,
    "c": 0.1199,
    "h": 95.3
  },
  "luminance": 0.31486
}

Semantic roles & 50–950 ramp

primary
#AF9733
secondary
#7A88C4
accent
#66DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9733

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

Preview Lab → · Contrast checker → · Palette generator →

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