#AF9536#AF9536

#AF9536 is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.6% C 0.116 H 93.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AF9536
RGBrgb(175, 149, 54)
HSLhsl(47, 53%, 45%)
HSVhsv(47, 69%, 69%)
CMYKcmyk(0%, 14.9%, 69.1%, 31.4%)
CIE-LABlab(62.40, -0.98, 51.70)
CIE-LCHlch(62.40, 51.71, 91.08°)
OKLaboklab(67.56% -0.0072 0.1161)
OKLCHoklch(67.56% 0.116 93.6)
XYZxyz(29.0940, 30.8768, 7.9167)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9536 #3650AF
analogous
#AF5836 #AF9536 #8DAF36
triadic
#AF9536 #36AF95 #9536AF
tetradic
#AF9536 #36AF58 #3650AF #AF368D
square
#AF9536 #36AF58 #3650AF #AF368D
split-complementary
#AF9536 #368DAF #5836AF
monochromatic
#514519 #806D28 #AF9536 #CBB257 #DAC886

Accessibility & contrast

On white

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

On black

7.18
#AF9536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9536
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9536#FFFFFF#000000##000000
##AF95361.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9536;
/* rgb */ color: rgb(175, 149, 54);
/* oklch */ color: oklch(67.6% 0.116 93.6);
Tailwind
colors: {
  custom: {
    50: '#cab372',
    500: '#af9536',
    950: '#000000',
  },
}
SCSS
$custom: #af9536;
$custom-light: #cab372;
$custom-dark: #000000;
JSON
{
  "hex": "#af9536",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 54
  },
  "hsl": {
    "h": 47.107,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67563,
    "c": 0.11637,
    "h": 93.6
  },
  "luminance": 0.30875
}

Semantic roles & 50–950 ramp

primary
#AF9536
secondary
#7D8CC3
accent
#6BDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9536

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

Preview Lab → · Contrast checker → · Palette generator →

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