#AF9336#AF9336

#AF9336 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 67.1% C 0.115 H 92.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#AF9336
RGBrgb(175, 147, 54)
HSLhsl(46, 53%, 45%)
HSVhsv(46, 69%, 69%)
CMYKcmyk(0%, 16%, 69.1%, 31.4%)
CIE-LABlab(61.87, 0.11, 51.15)
CIE-LCHlch(61.87, 51.15, 89.87°)
OKLaboklab(67.14% -0.0041 0.115)
OKLCHoklch(67.14% 0.115 92)
XYZxyz(28.7803, 30.2494, 7.8121)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9336 #3652AF
analogous
#AF5736 #AF9336 #8EAF36
triadic
#AF9336 #36AF93 #9336AF
tetradic
#AF9336 #36AF57 #3652AF #AF368E
square
#AF9336 #36AF57 #3652AF #AF368E
split-complementary
#AF9336 #368EAF #5736AF
monochromatic
#514419 #806C28 #AF9336 #CBB057 #DAC686

Accessibility & contrast

On white

2.98
#AF9336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#AF9336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9336
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9336#FFFFFF#000000##000000
##AF93361.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3912A
Deuteranopia (green-blind)
#AA993B
Tritanopia (blue-blind)
#BD8780
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9336;
/* rgb */ color: rgb(175, 147, 54);
/* oklch */ color: oklch(67.1% 0.115 92.0);
Tailwind
colors: {
  custom: {
    50: '#cab272',
    500: '#af9336',
    950: '#000000',
  },
}
SCSS
$custom: #af9336;
$custom-light: #cab272;
$custom-dark: #000000;
JSON
{
  "hex": "#af9336",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 54
  },
  "hsl": {
    "h": 46.116,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6714,
    "c": 0.11504,
    "h": 92
  },
  "luminance": 0.30248
}

Semantic roles & 50–950 ramp

primary
#AF9336
secondary
#7D8EC3
accent
#6DDC4C
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9336

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

Preview Lab → · Contrast checker → · Palette generator →

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