#AF9D56#AF9D56

#AF9D56 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.6% C 0.094 H 95.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#AF9D56
RGBrgb(175, 157, 86)
HSLhsl(48, 36%, 51%)
HSVhsv(48, 51%, 69%)
CMYKcmyk(0%, 10.3%, 50.9%, 31.4%)
CIE-LABlab(64.88, -2.93, 39.26)
CIE-LCHlch(64.88, 39.37, 94.27°)
OKLaboklab(69.63% -0.009 0.0935)
OKLCHoklch(69.63% 0.094 95.5)
XYZxyz(31.4169, 33.9011, 13.6910)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D56 #5668AF
analogous
#AF7056 #AF9D56 #94AF56
triadic
#AF9D56 #56AF9D #9D56AF
tetradic
#AF9D56 #56AF70 #5668AF #AF5694
square
#AF9D56 #56AF70 #5668AF #AF5694
split-complementary
#AF9D56 #5694AF #7056AF
monochromatic
#5E542D #887940 #AF9D56 #C3B580 #D6CDA9

Accessibility & contrast

On white

2.70
#AF9D56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#AF9D56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D56
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D56#FFFFFF#000000##000000
##AF9D561.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A50
Deuteranopia (green-blind)
#AFA059
Tritanopia (blue-blind)
#BB948C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d56;
/* rgb */ color: rgb(175, 157, 86);
/* oklch */ color: oklch(69.6% 0.094 95.5);
Tailwind
colors: {
  custom: {
    50: '#c9b987',
    500: '#af9d56',
    950: '#000000',
  },
}
SCSS
$custom: #af9d56;
$custom-light: #c9b987;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d56",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 86
  },
  "hsl": {
    "h": 47.865,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6963,
    "c": 0.09392,
    "h": 95.5
  },
  "luminance": 0.339
}

Semantic roles & 50–950 ramp

primary
#AF9D56
secondary
#9DA5C4
accent
#73CC5C
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9D56

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

Preview Lab → · Contrast checker → · Palette generator →

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