#AF9946#AF9946

#AF9946 is a light, moderate yellow. Relative luminance 0.323; OKLCH L 68.6% C 0.106 H 94.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AF9946
RGBrgb(175, 153, 70)
HSLhsl(47, 43%, 48%)
HSVhsv(47, 60%, 69%)
CMYKcmyk(0%, 12.6%, 60%, 31.4%)
CIE-LABlab(63.62, -2.10, 45.72)
CIE-LCHlch(63.62, 45.77, 92.63°)
OKLaboklab(68.57% -0.0085 0.1059)
OKLCHoklch(68.57% 0.106 94.6)
XYZxyz(30.1772, 32.3401, 10.4459)
Luminance0.3234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9946 #465CAF
analogous
#AF6546 #AF9946 #90AF46
triadic
#AF9946 #46AF99 #9946AF
tetradic
#AF9946 #46AF65 #465CAF #AF4690
square
#AF9946 #46AF65 #465CAF #AF4690
split-complementary
#AF9946 #4690AF #6546AF
monochromatic
#584D23 #837335 #AF9946 #C5B26D #D6C999

Accessibility & contrast

On white

2.81
#AF9946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AF9946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9946
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9946#FFFFFF#000000##000000
##AF99461.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7963E
Deuteranopia (green-blind)
#AD9D4A
Tritanopia (blue-blind)
#BC8E87
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9946;
/* rgb */ color: rgb(175, 153, 70);
/* oklch */ color: oklch(68.6% 0.106 94.6);
Tailwind
colors: {
  custom: {
    50: '#cab67c',
    500: '#af9946',
    950: '#000000',
  },
}
SCSS
$custom: #af9946;
$custom-light: #cab67c;
$custom-dark: #000000;
JSON
{
  "hex": "#af9946",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 70
  },
  "hsl": {
    "h": 47.429,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68573,
    "c": 0.10619,
    "h": 94.6
  },
  "luminance": 0.32339
}

Semantic roles & 50–950 ramp

primary
#AF9946
secondary
#8E99C2
accent
#6FD355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9946

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

Preview Lab → · Contrast checker → · Palette generator →

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