#AF9D46#AF9D46

#AF9D46 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.4% C 0.109 H 97.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AF9D46
RGBrgb(175, 157, 70)
HSLhsl(50, 43%, 48%)
HSVhsv(50, 60%, 69%)
CMYKcmyk(0%, 10.3%, 60%, 31.4%)
CIE-LABlab(64.70, -4.26, 46.94)
CIE-LCHlch(64.70, 47.13, 95.18°)
OKLaboklab(69.43% -0.0147 0.1085)
OKLCHoklch(69.43% 0.109 97.7)
XYZxyz(30.8429, 33.6715, 10.6678)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D46 #4658AF
analogous
#AF6846 #AF9D46 #8CAF46
triadic
#AF9D46 #46AF9D #9D46AF
tetradic
#AF9D46 #46AF68 #4658AF #AF468C
square
#AF9D46 #46AF68 #4658AF #AF468C
split-complementary
#AF9D46 #468CAF #6846AF
monochromatic
#584F23 #837635 #AF9D46 #C5B66D #D6CC99

Accessibility & contrast

On white

2.72
#AF9D46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AF9D46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D46
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D46#FFFFFF#000000##000000
##AF9D461.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993D
Deuteranopia (green-blind)
#B0A04A
Tritanopia (blue-blind)
#BC928A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d46;
/* rgb */ color: rgb(175, 157, 70);
/* oklch */ color: oklch(69.4% 0.109 97.7);
Tailwind
colors: {
  custom: {
    50: '#c9b97d',
    500: '#af9d46',
    950: '#000000',
  },
}
SCSS
$custom: #af9d46;
$custom-light: #c9b97d;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d46",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 70
  },
  "hsl": {
    "h": 49.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69426,
    "c": 0.10945,
    "h": 97.7
  },
  "luminance": 0.3367
}

Semantic roles & 50–950 ramp

primary
#AF9D46
secondary
#8E97C2
accent
#6BD355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9D46

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

Preview Lab → · Contrast checker → · Palette generator →

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