#AF9D4C#AF9D4C

#AF9D4C is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.5% C 0.104 H 97.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AF9D4C
RGBrgb(175, 157, 76)
HSLhsl(49, 39%, 49%)
HSVhsv(49, 57%, 69%)
CMYKcmyk(0%, 10.3%, 56.6%, 31.4%)
CIE-LABlab(64.76, -3.79, 44.12)
CIE-LCHlch(64.76, 44.29, 94.91°)
OKLaboklab(69.5% -0.0126 0.1031)
OKLCHoklch(69.5% 0.104 97)
XYZxyz(31.0418, 33.7510, 11.7156)
Luminance0.3375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D4C #4C5EAF
analogous
#AF6C4C #AF9D4C #90AF4C
triadic
#AF9D4C #4CAF9D #9D4CAF
tetradic
#AF9D4C #4CAF6C #4C5EAF #AF4C90
square
#AF9D4C #4CAF6C #4C5EAF #AF4C90
split-complementary
#AF9D4C #4C90AF #6C4CAF
monochromatic
#5A5027 #847739 #AF9D4C #C3B575 #D6CCA0

Accessibility & contrast

On white

2.71
#AF9D4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AF9D4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D4C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D4C#FFFFFF#000000##000000
##AF9D4C1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A44
Deuteranopia (green-blind)
#AFA050
Tritanopia (blue-blind)
#BB938B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d4c;
/* rgb */ color: rgb(175, 157, 76);
/* oklch */ color: oklch(69.5% 0.104 97.0);
Tailwind
colors: {
  custom: {
    50: '#c9b980',
    500: '#af9d4c',
    950: '#000000',
  },
}
SCSS
$custom: #af9d4c;
$custom-light: #c9b980;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d4c",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 76
  },
  "hsl": {
    "h": 49.091,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69497,
    "c": 0.1039,
    "h": 97
  },
  "luminance": 0.3375
}

Semantic roles & 50–950 ramp

primary
#AF9D4C
secondary
#949DC2
accent
#6ECF58
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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