#AF9D54#AF9D54

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

Color values

HEX#AF9D54
RGBrgb(175, 157, 84)
HSLhsl(48, 36%, 51%)
HSVhsv(48, 52%, 69%)
CMYKcmyk(0%, 10.3%, 52%, 31.4%)
CIE-LABlab(64.86, -3.11, 40.25)
CIE-LCHlch(64.86, 40.37, 94.42°)
OKLaboklab(69.6% -0.0097 0.0955)
OKLCHoklch(69.6% 0.096 95.8)
XYZxyz(31.3375, 33.8693, 13.2725)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D54 #5466AF
analogous
#AF6F54 #AF9D54 #93AF54
triadic
#AF9D54 #54AF9D #9D54AF
tetradic
#AF9D54 #54AF6F #5466AF #AF5493
square
#AF9D54 #54AF6F #5466AF #AF5493
split-complementary
#AF9D54 #5493AF #6F54AF
monochromatic
#5D532C #87793F #AF9D54 #C3B57E #D6CDA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9D54#FFFFFF#000000##000000
##AF9D541.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)
#AA9A4E
Deuteranopia (green-blind)
#AFA057
Tritanopia (blue-blind)
#BB938C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d54;
/* rgb */ color: rgb(175, 157, 84);
/* oklch */ color: oklch(69.6% 0.096 95.8);
Tailwind
colors: {
  custom: {
    50: '#c9b986',
    500: '#af9d54',
    950: '#000000',
  },
}
SCSS
$custom: #af9d54;
$custom-light: #c9b986;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d54",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 84
  },
  "hsl": {
    "h": 48.132,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.69602,
    "c": 0.09599,
    "h": 95.8
  },
  "luminance": 0.33868
}

Semantic roles & 50–950 ramp

primary
#AF9D54
secondary
#9BA3C4
accent
#72CC5C
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9D54

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

Preview Lab → · Contrast checker → · Palette generator →

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