#AF9D52#AF9D52

#AF9D52 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.6% C 0.098 H 96.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AF9D52
RGBrgb(175, 157, 82)
HSLhsl(48, 37%, 50%)
HSVhsv(48, 53%, 69%)
CMYKcmyk(0%, 10.3%, 53.1%, 31.4%)
CIE-LABlab(64.83, -3.29, 41.23)
CIE-LCHlch(64.83, 41.36, 94.56°)
OKLaboklab(69.58% -0.0105 0.0975)
OKLCHoklch(69.58% 0.098 96.1)
XYZxyz(31.2602, 33.8384, 12.8659)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D52 #5264AF
analogous
#AF6E52 #AF9D52 #92AF52
triadic
#AF9D52 #52AF9D #9D52AF
tetradic
#AF9D52 #52AF6E #5264AF #AF5292
square
#AF9D52 #52AF6E #5264AF #AF5292
split-complementary
#AF9D52 #5292AF #6E52AF
monochromatic
#5C522B #86783E #AF9D52 #C2B57C #D6CCA6

Accessibility & contrast

On white

2.70
#AF9D52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AF9D52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D52
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D52#FFFFFF#000000##000000
##AF9D521.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A4B
Deuteranopia (green-blind)
#AFA055
Tritanopia (blue-blind)
#BB938C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d52;
/* rgb */ color: rgb(175, 157, 82);
/* oklch */ color: oklch(69.6% 0.098 96.1);
Tailwind
colors: {
  custom: {
    50: '#c9b984',
    500: '#af9d52',
    950: '#000000',
  },
}
SCSS
$custom: #af9d52;
$custom-light: #c9b984;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d52",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 82
  },
  "hsl": {
    "h": 48.387,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.69575,
    "c": 0.09802,
    "h": 96.1
  },
  "luminance": 0.33837
}

Semantic roles & 50–950 ramp

primary
#AF9D52
secondary
#9AA2C3
accent
#71CD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9D52

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

Preview Lab → · Contrast checker → · Palette generator →

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