#AF9746#AF9746

#AF9746 is a light, moderate yellow. Relative luminance 0.317; OKLCH L 68.1% C 0.105 H 92.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AF9746
RGBrgb(175, 151, 70)
HSLhsl(46, 43%, 48%)
HSVhsv(46, 60%, 69%)
CMYKcmyk(0%, 13.7%, 60%, 31.4%)
CIE-LABlab(63.09, -1.02, 45.12)
CIE-LCHlch(63.09, 45.13, 91.29°)
OKLaboklab(68.15% -0.0054 0.1046)
OKLCHoklch(68.15% 0.105 92.9)
XYZxyz(29.8526, 31.6909, 10.3377)
Luminance0.3169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9746 #465EAF
analogous
#AF6346 #AF9746 #92AF46
triadic
#AF9746 #46AF97 #9746AF
tetradic
#AF9746 #46AF63 #465EAF #AF4692
square
#AF9746 #46AF63 #465EAF #AF4692
split-complementary
#AF9746 #4692AF #6346AF
monochromatic
#584C23 #837135 #AF9746 #C5B16D #D6C899

Accessibility & contrast

On white

2.86
#AF9746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AF9746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9746
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9746#FFFFFF#000000##000000
##AF97461.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5953E
Deuteranopia (green-blind)
#AB9C4A
Tritanopia (blue-blind)
#BC8C85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9746;
/* rgb */ color: rgb(175, 151, 70);
/* oklch */ color: oklch(68.1% 0.105 92.9);
Tailwind
colors: {
  custom: {
    50: '#cab57c',
    500: '#af9746',
    950: '#000000',
  },
}
SCSS
$custom: #af9746;
$custom-light: #cab57c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9746",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 70
  },
  "hsl": {
    "h": 46.286,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68149,
    "c": 0.10469,
    "h": 92.9
  },
  "luminance": 0.31689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9746

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

Preview Lab → · Contrast checker → · Palette generator →

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