#AF9B52#AF9B52

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

Color values

HEX#AF9B52
RGBrgb(175, 155, 82)
HSLhsl(47, 37%, 50%)
HSVhsv(47, 53%, 69%)
CMYKcmyk(0%, 11.4%, 53.1%, 31.4%)
CIE-LABlab(64.30, -2.21, 40.58)
CIE-LCHlch(64.30, 40.64, 93.12°)
OKLaboklab(69.15% -0.0074 0.0961)
OKLCHoklch(69.15% 0.096 94.4)
XYZxyz(30.9246, 33.1672, 12.7540)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B52 #5266AF
analogous
#AF6C52 #AF9B52 #94AF52
triadic
#AF9B52 #52AF9B #9B52AF
tetradic
#AF9B52 #52AF6C #5266AF #AF5294
square
#AF9B52 #52AF6C #5266AF #AF5294
split-complementary
#AF9B52 #5294AF #6C52AF
monochromatic
#5C512B #86763E #AF9B52 #C2B37C #D6CBA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9B52#FFFFFF#000000##000000
##AF9B521.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)
#A8984C
Deuteranopia (green-blind)
#AD9F55
Tritanopia (blue-blind)
#BB918A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9b52;
/* rgb */ color: rgb(175, 155, 82);
/* oklch */ color: oklch(69.1% 0.096 94.4);
Tailwind
colors: {
  custom: {
    50: '#c9b884',
    500: '#af9b52',
    950: '#000000',
  },
}
SCSS
$custom: #af9b52;
$custom-light: #c9b884;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b52",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 82
  },
  "hsl": {
    "h": 47.097,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.69149,
    "c": 0.09633,
    "h": 94.4
  },
  "luminance": 0.33166
}

Semantic roles & 50–950 ramp

primary
#AF9B52
secondary
#9AA3C3
accent
#74CD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9B52

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

Preview Lab → · Contrast checker → · Palette generator →

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