#AF9936#AF9936

#AF9936 is a light, moderate yellow. Relative luminance 0.322; OKLCH L 68.4% C 0.119 H 96.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AF9936
RGBrgb(175, 153, 54)
HSLhsl(49, 53%, 45%)
HSVhsv(49, 69%, 69%)
CMYKcmyk(0%, 12.6%, 69.1%, 31.4%)
CIE-LABlab(63.48, -3.14, 52.81)
CIE-LCHlch(63.48, 52.90, 93.41°)
OKLaboklab(68.41% -0.0134 0.1185)
OKLCHoklch(68.41% 0.119 96.5)
XYZxyz(29.7377, 32.1643, 8.1313)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9936 #364CAF
analogous
#AF5D36 #AF9936 #88AF36
triadic
#AF9936 #36AF99 #9936AF
tetradic
#AF9936 #36AF5D #364CAF #AF3688
square
#AF9936 #36AF5D #364CAF #AF3688
split-complementary
#AF9936 #3688AF #5D36AF
monochromatic
#514719 #807028 #AF9936 #CBB657 #DACA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9936#FFFFFF#000000##000000
##AF99361.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)
#A89629
Deuteranopia (green-blind)
#AE9D3B
Tritanopia (blue-blind)
#BD8D85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9936;
/* rgb */ color: rgb(175, 153, 54);
/* oklch */ color: oklch(68.4% 0.119 96.5);
Tailwind
colors: {
  custom: {
    50: '#cab673',
    500: '#af9936',
    950: '#000000',
  },
}
SCSS
$custom: #af9936;
$custom-light: #cab673;
$custom-dark: #000000;
JSON
{
  "hex": "#af9936",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 49.091,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68413,
    "c": 0.11924,
    "h": 96.5
  },
  "luminance": 0.32163
}

Semantic roles & 50–950 ramp

primary
#AF9936
secondary
#7D8AC3
accent
#66DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9936

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

Preview Lab → · Contrast checker → · Palette generator →

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