#AF9956#AF9956

#AF9956 is a light, moderate yellow. Relative luminance 0.326; OKLCH L 68.8% C 0.091 H 91.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AF9956
RGBrgb(175, 153, 86)
HSLhsl(45, 36%, 51%)
HSVhsv(45, 51%, 69%)
CMYKcmyk(0%, 12.6%, 50.9%, 31.4%)
CIE-LABlab(63.81, -0.76, 37.95)
CIE-LCHlch(63.81, 37.96, 91.15°)
OKLaboklab(68.78% -0.0027 0.0906)
OKLCHoklch(68.78% 0.091 91.7)
XYZxyz(30.7512, 32.5697, 13.4691)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9956 #566CAF
analogous
#AF6C56 #AF9956 #98AF56
triadic
#AF9956 #56AF99 #9956AF
tetradic
#AF9956 #56AF6C #566CAF #AF5698
square
#AF9956 #56AF6C #566CAF #AF5698
split-complementary
#AF9956 #5698AF #6C56AF
monochromatic
#5E522D #887640 #AF9956 #C3B280 #D6CBA9

Accessibility & contrast

On white

2.79
#AF9956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AF9956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9956
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9956#FFFFFF#000000##000000
##AF99561.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69750
Deuteranopia (green-blind)
#AC9D59
Tritanopia (blue-blind)
#BB8F89
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9956;
/* rgb */ color: rgb(175, 153, 86);
/* oklch */ color: oklch(68.8% 0.091 91.7);
Tailwind
colors: {
  custom: {
    50: '#c9b687',
    500: '#af9956',
    950: '#000000',
  },
}
SCSS
$custom: #af9956;
$custom-light: #c9b687;
$custom-dark: #000000;
JSON
{
  "hex": "#af9956",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 86
  },
  "hsl": {
    "h": 45.169,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.68783,
    "c": 0.09065,
    "h": 91.7
  },
  "luminance": 0.32568
}

Semantic roles & 50–950 ramp

primary
#AF9956
secondary
#9DA6C4
accent
#78CC5C
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9956

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

Preview Lab → · Contrast checker → · Palette generator →

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