#AF9B50#AF9B50

#AF9B50 is a light, moderate yellow. Relative luminance 0.331; OKLCH L 69.1% C 0.098 H 94.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AF9B50
RGBrgb(175, 155, 80)
HSLhsl(47, 37%, 50%)
HSVhsv(47, 54%, 69%)
CMYKcmyk(0%, 11.4%, 54.3%, 31.4%)
CIE-LABlab(64.27, -2.38, 41.56)
CIE-LCHlch(64.27, 41.63, 93.28°)
OKLaboklab(69.12% -0.0081 0.098)
OKLCHoklch(69.12% 0.098 94.7)
XYZxyz(30.8496, 33.1372, 12.3590)
Luminance0.3314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B50 #5064AF
analogous
#AF6B50 #AF9B50 #94AF50
triadic
#AF9B50 #50AF9B #9B50AF
tetradic
#AF9B50 #50AF6B #5064AF #AF5094
square
#AF9B50 #50AF6B #5064AF #AF5094
split-complementary
#AF9B50 #5094AF #6B50AF
monochromatic
#5B512A #85763D #AF9B50 #C2B37A #D5CBA4

Accessibility & contrast

On white

2.75
#AF9B50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AF9B50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B50
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B50#FFFFFF#000000##000000
##AF9B501.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89849
Deuteranopia (green-blind)
#AE9E53
Tritanopia (blue-blind)
#BB918A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9b50;
/* rgb */ color: rgb(175, 155, 80);
/* oklch */ color: oklch(69.1% 0.098 94.7);
Tailwind
colors: {
  custom: {
    50: '#c9b883',
    500: '#af9b50',
    950: '#000000',
  },
}
SCSS
$custom: #af9b50;
$custom-light: #c9b883;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b50",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 80
  },
  "hsl": {
    "h": 47.368,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.69122,
    "c": 0.09833,
    "h": 94.7
  },
  "luminance": 0.33136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9B50

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

Preview Lab → · Contrast checker → · Palette generator →

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