#AF9A52#AF9A52

#AF9A52 is a light, moderate yellow. Relative luminance 0.328; OKLCH L 68.9% C 0.096 H 93.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AF9A52
RGBrgb(175, 154, 82)
HSLhsl(46, 37%, 50%)
HSVhsv(46, 53%, 69%)
CMYKcmyk(0%, 12%, 53.1%, 31.4%)
CIE-LABlab(64.03, -1.67, 40.26)
CIE-LCHlch(64.03, 40.30, 92.37°)
OKLaboklab(68.94% -0.0058 0.0954)
OKLCHoklch(68.94% 0.096 93.5)
XYZxyz(30.7589, 32.8357, 12.6987)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9A52 #5267AF
analogous
#AF6C52 #AF9A52 #95AF52
triadic
#AF9A52 #52AF9A #9A52AF
tetradic
#AF9A52 #52AF6C #5267AF #AF5295
square
#AF9A52 #52AF6C #5267AF #AF5295
split-complementary
#AF9A52 #5295AF #6C52AF
monochromatic
#5C512B #86763E #AF9A52 #C2B27C #D6CBA6

Accessibility & contrast

On white

2.78
#AF9A52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AF9A52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9A52
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9A52#FFFFFF#000000##000000
##AF9A521.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7974C
Deuteranopia (green-blind)
#AD9E55
Tritanopia (blue-blind)
#BB9089
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9a52;
/* rgb */ color: rgb(175, 154, 82);
/* oklch */ color: oklch(68.9% 0.096 93.5);
Tailwind
colors: {
  custom: {
    50: '#c9b784',
    500: '#af9a52',
    950: '#000000',
  },
}
SCSS
$custom: #af9a52;
$custom-light: #c9b784;
$custom-dark: #000000;
JSON
{
  "hex": "#af9a52",
  "rgb": {
    "r": 175,
    "g": 154,
    "b": 82
  },
  "hsl": {
    "h": 46.452,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.68937,
    "c": 0.09553,
    "h": 93.5
  },
  "luminance": 0.32834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9A52

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

Preview Lab → · Contrast checker → · Palette generator →

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