#AF9646#AF9646

#AF9646 is a light, moderate yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.104 H 92.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AF9646
RGBrgb(175, 150, 70)
HSLhsl(46, 43%, 48%)
HSVhsv(46, 60%, 69%)
CMYKcmyk(0%, 14.3%, 60%, 31.4%)
CIE-LABlab(62.82, -0.47, 44.81)
CIE-LCHlch(62.82, 44.81, 90.60°)
OKLaboklab(67.94% -0.0038 0.1039)
OKLCHoklch(67.94% 0.104 92.1)
XYZxyz(29.6923, 31.3704, 10.2843)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9646 #465FAF
analogous
#AF6146 #AF9646 #93AF46
triadic
#AF9646 #46AF96 #9646AF
tetradic
#AF9646 #46AF61 #465FAF #AF4693
square
#AF9646 #46AF61 #465FAF #AF4693
split-complementary
#AF9646 #4693AF #6146AF
monochromatic
#584B23 #837135 #AF9646 #C5B06D #D6C899

Accessibility & contrast

On white

2.89
#AF9646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AF9646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9646
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9646#FFFFFF#000000##000000
##AF96461.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5943E
Deuteranopia (green-blind)
#AB9B49
Tritanopia (blue-blind)
#BC8B84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af9646;
/* rgb */ color: rgb(175, 150, 70);
/* oklch */ color: oklch(67.9% 0.104 92.1);
Tailwind
colors: {
  custom: {
    50: '#cab47c',
    500: '#af9646',
    950: '#000000',
  },
}
SCSS
$custom: #af9646;
$custom-light: #cab47c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9646",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 70
  },
  "hsl": {
    "h": 45.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67938,
    "c": 0.10397,
    "h": 92.1
  },
  "luminance": 0.31369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9646

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

Preview Lab → · Contrast checker → · Palette generator →

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