#AF9951#AF9951

#AF9951 is a light, moderate yellow. Relative luminance 0.325; OKLCH L 68.7% C 0.096 H 92.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AF9951
RGBrgb(175, 153, 81)
HSLhsl(46, 37%, 50%)
HSVhsv(46, 54%, 69%)
CMYKcmyk(0%, 12.6%, 53.7%, 31.4%)
CIE-LABlab(63.75, -1.21, 40.44)
CIE-LCHlch(63.75, 40.45, 91.72°)
OKLaboklab(68.71% -0.0046 0.0956)
OKLCHoklch(68.71% 0.096 92.8)
XYZxyz(30.5568, 32.4919, 12.4450)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9951 #5167AF
analogous
#AF6A51 #AF9951 #96AF51
triadic
#AF9951 #51AF99 #9951AF
tetradic
#AF9951 #51AF6A #5167AF #AF5196
square
#AF9951 #51AF6A #5167AF #AF5196
split-complementary
#AF9951 #5196AF #6A51AF
monochromatic
#5C502A #85753D #AF9951 #C2B27B #D6CAA5

Accessibility & contrast

On white

2.80
#AF9951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AF9951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9951
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9951#FFFFFF#000000##000000
##AF99511.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6974B
Deuteranopia (green-blind)
#AC9D54
Tritanopia (blue-blind)
#BB8F88
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9951;
/* rgb */ color: rgb(175, 153, 81);
/* oklch */ color: oklch(68.7% 0.096 92.8);
Tailwind
colors: {
  custom: {
    50: '#c9b684',
    500: '#af9951',
    950: '#000000',
  },
}
SCSS
$custom: #af9951;
$custom-light: #c9b684;
$custom-dark: #000000;
JSON
{
  "hex": "#af9951",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 81
  },
  "hsl": {
    "h": 45.957,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.68712,
    "c": 0.09574,
    "h": 92.8
  },
  "luminance": 0.32491
}

Semantic roles & 50–950 ramp

primary
#AF9951
secondary
#99A3C3
accent
#76CD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9951

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

Preview Lab → · Contrast checker → · Palette generator →

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