#AF9C50#AF9C50

#AF9C50 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.3% C 0.099 H 95.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AF9C50
RGBrgb(175, 156, 80)
HSLhsl(48, 37%, 50%)
HSVhsv(48, 54%, 69%)
CMYKcmyk(0%, 10.9%, 54.3%, 31.4%)
CIE-LABlab(64.54, -2.92, 41.88)
CIE-LCHlch(64.54, 41.98, 93.99°)
OKLaboklab(69.34% -0.0097 0.0987)
OKLCHoklch(69.34% 0.099 95.6)
XYZxyz(31.0168, 33.4714, 12.4147)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9C50 #5063AF
analogous
#AF6C50 #AF9C50 #93AF50
triadic
#AF9C50 #50AF9C #9C50AF
tetradic
#AF9C50 #50AF6C #5063AF #AF5093
square
#AF9C50 #50AF6C #5063AF #AF5093
split-complementary
#AF9C50 #5093AF #6C50AF
monochromatic
#5B512A #85773D #AF9C50 #C2B47A #D5CCA4

Accessibility & contrast

On white

2.73
#AF9C50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AF9C50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9C50
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9C50#FFFFFF#000000##000000
##AF9C501.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99949
Deuteranopia (green-blind)
#AE9F53
Tritanopia (blue-blind)
#BB928B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9c50;
/* rgb */ color: rgb(175, 156, 80);
/* oklch */ color: oklch(69.3% 0.099 95.6);
Tailwind
colors: {
  custom: {
    50: '#c9b983',
    500: '#af9c50',
    950: '#000000',
  },
}
SCSS
$custom: #af9c50;
$custom-light: #c9b983;
$custom-dark: #000000;
JSON
{
  "hex": "#af9c50",
  "rgb": {
    "r": 175,
    "g": 156,
    "b": 80
  },
  "hsl": {
    "h": 48,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.69335,
    "c": 0.09916,
    "h": 95.6
  },
  "luminance": 0.3347
}

Semantic roles & 50–950 ramp

primary
#AF9C50
secondary
#98A1C3
accent
#72CD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9C50

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

Preview Lab → · Contrast checker → · Palette generator →

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