#AF9546#AF9546

#AF9546 is a light, moderate yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.103 H 91.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AF9546
RGBrgb(175, 149, 70)
HSLhsl(45, 43%, 48%)
HSVhsv(45, 60%, 69%)
CMYKcmyk(0%, 14.9%, 60%, 31.4%)
CIE-LABlab(62.55, 0.07, 44.51)
CIE-LCHlch(62.55, 44.51, 89.91°)
OKLaboklab(67.73% -0.0022 0.1033)
OKLCHoklch(67.73% 0.103 91.2)
XYZxyz(29.5335, 31.0526, 10.2313)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9546 #4660AF
analogous
#AF6046 #AF9546 #94AF46
triadic
#AF9546 #46AF95 #9546AF
tetradic
#AF9546 #46AF60 #4660AF #AF4694
square
#AF9546 #46AF60 #4660AF #AF4694
split-complementary
#AF9546 #4694AF #6046AF
monochromatic
#584B23 #837035 #AF9546 #C5AF6D #D6C799

Accessibility & contrast

On white

2.91
#AF9546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AF9546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9546
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9546#FFFFFF#000000##000000
##AF95461.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933E
Deuteranopia (green-blind)
#AA9A49
Tritanopia (blue-blind)
#BC8A83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9546;
/* rgb */ color: rgb(175, 149, 70);
/* oklch */ color: oklch(67.7% 0.103 91.2);
Tailwind
colors: {
  custom: {
    50: '#cab37c',
    500: '#af9546',
    950: '#000000',
  },
}
SCSS
$custom: #af9546;
$custom-light: #cab37c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9546",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 70
  },
  "hsl": {
    "h": 45.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67727,
    "c": 0.10327,
    "h": 91.2
  },
  "luminance": 0.31051
}

Semantic roles & 50–950 ramp

primary
#AF9546
secondary
#8E9BC2
accent
#74D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9546

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

Preview Lab → · Contrast checker → · Palette generator →

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