#AF9950#AF9950

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

Color values

HEX#AF9950
RGBrgb(175, 153, 80)
HSLhsl(46, 37%, 50%)
HSVhsv(46, 54%, 69%)
CMYKcmyk(0%, 12.6%, 54.3%, 31.4%)
CIE-LABlab(63.74, -1.30, 40.93)
CIE-LCHlch(63.74, 40.95, 91.82°)
OKLaboklab(68.7% -0.005 0.0966)
OKLCHoklch(68.7% 0.097 92.9)
XYZxyz(30.5196, 32.4770, 12.2490)
Luminance0.3248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9950 #5066AF
analogous
#AF6950 #AF9950 #96AF50
triadic
#AF9950 #50AF99 #9950AF
tetradic
#AF9950 #50AF69 #5066AF #AF5096
square
#AF9950 #50AF69 #5066AF #AF5096
split-complementary
#AF9950 #5096AF #6950AF
monochromatic
#5B502A #85743D #AF9950 #C2B17A #D5CAA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9950#FFFFFF#000000##000000
##AF99501.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)
#A79749
Deuteranopia (green-blind)
#AC9D53
Tritanopia (blue-blind)
#BB8F88
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9950;
/* rgb */ color: rgb(175, 153, 80);
/* oklch */ color: oklch(68.7% 0.097 92.9);
Tailwind
colors: {
  custom: {
    50: '#c9b683',
    500: '#af9950',
    950: '#000000',
  },
}
SCSS
$custom: #af9950;
$custom-light: #c9b683;
$custom-dark: #000000;
JSON
{
  "hex": "#af9950",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 80
  },
  "hsl": {
    "h": 46.105,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.09674,
    "h": 92.9
  },
  "luminance": 0.32476
}

Semantic roles & 50–950 ramp

primary
#AF9950
secondary
#98A2C3
accent
#75CD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9950

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

Preview Lab → · Contrast checker → · Palette generator →

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