#AF9952#AF9952

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

Color values

HEX#AF9952
RGBrgb(175, 153, 82)
HSLhsl(46, 37%, 50%)
HSVhsv(46, 53%, 69%)
CMYKcmyk(0%, 12.6%, 53.1%, 31.4%)
CIE-LABlab(63.76, -1.13, 39.94)
CIE-LCHlch(63.76, 39.96, 91.61°)
OKLaboklab(68.73% -0.0042 0.0946)
OKLCHoklch(68.73% 0.095 92.6)
XYZxyz(30.5945, 32.5070, 12.6440)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9952 #5268AF
analogous
#AF6A52 #AF9952 #97AF52
triadic
#AF9952 #52AF99 #9952AF
tetradic
#AF9952 #52AF6A #5268AF #AF5297
square
#AF9952 #52AF6A #5268AF #AF5297
split-complementary
#AF9952 #5297AF #6A52AF
monochromatic
#5C502B #86753E #AF9952 #C2B27C #D6CAA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9952#FFFFFF#000000##000000
##AF99521.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)
#A6974C
Deuteranopia (green-blind)
#AC9D55
Tritanopia (blue-blind)
#BB8F88
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9952;
/* rgb */ color: rgb(175, 153, 82);
/* oklch */ color: oklch(68.7% 0.095 92.6);
Tailwind
colors: {
  custom: {
    50: '#c9b684',
    500: '#af9952',
    950: '#000000',
  },
}
SCSS
$custom: #af9952;
$custom-light: #c9b684;
$custom-dark: #000000;
JSON
{
  "hex": "#af9952",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 82
  },
  "hsl": {
    "h": 45.806,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.68726,
    "c": 0.09473,
    "h": 92.6
  },
  "luminance": 0.32506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9952

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

Preview Lab → · Contrast checker → · Palette generator →

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