#AF9846#AF9846

#AF9846 is a light, moderate yellow. Relative luminance 0.320; OKLCH L 68.4% C 0.105 H 93.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#AF9846
RGBrgb(175, 152, 70)
HSLhsl(47, 43%, 48%)
HSVhsv(47, 60%, 69%)
CMYKcmyk(0%, 13.1%, 60%, 31.4%)
CIE-LABlab(63.35, -1.56, 45.42)
CIE-LCHlch(63.35, 45.45, 91.97°)
OKLaboklab(68.36% -0.0069 0.1052)
OKLCHoklch(68.36% 0.105 93.8)
XYZxyz(30.0142, 32.0141, 10.3916)
Luminance0.3201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9846 #465DAF
analogous
#AF6346 #AF9846 #91AF46
triadic
#AF9846 #46AF98 #9846AF
tetradic
#AF9846 #46AF63 #465DAF #AF4691
square
#AF9846 #46AF63 #465DAF #AF4691
split-complementary
#AF9846 #4691AF #6346AF
monochromatic
#584C23 #837235 #AF9846 #C5B26D #D6C999

Accessibility & contrast

On white

2.84
#AF9846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#AF9846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9846
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9846#FFFFFF#000000##000000
##AF98461.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6953E
Deuteranopia (green-blind)
#AC9C4A
Tritanopia (blue-blind)
#BC8D86
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9846;
/* rgb */ color: rgb(175, 152, 70);
/* oklch */ color: oklch(68.4% 0.105 93.8);
Tailwind
colors: {
  custom: {
    50: '#cab67c',
    500: '#af9846',
    950: '#000000',
  },
}
SCSS
$custom: #af9846;
$custom-light: #cab67c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9846",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 70
  },
  "hsl": {
    "h": 46.857,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68361,
    "c": 0.10543,
    "h": 93.8
  },
  "luminance": 0.32013
}

Semantic roles & 50–950 ramp

primary
#AF9846
secondary
#8E9AC2
accent
#71D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9846

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

Preview Lab → · Contrast checker → · Palette generator →

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