#AF9641#AF9641

#AF9641 is a light, moderate yellow. Relative luminance 0.313; OKLCH L 67.9% C 0.108 H 92.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AF9641
RGBrgb(175, 150, 65)
HSLhsl(46, 46%, 47%)
HSVhsv(46, 63%, 69%)
CMYKcmyk(0%, 14.3%, 62.9%, 31.4%)
CIE-LABlab(62.77, -0.83, 47.14)
CIE-LCHlch(62.77, 47.15, 91.01°)
OKLaboklab(67.88% -0.0055 0.1082)
OKLCHoklch(67.88% 0.108 92.9)
XYZxyz(29.5410, 31.3098, 9.4874)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9641 #415AAF
analogous
#AF5F41 #AF9641 #91AF41
triadic
#AF9641 #41AF96 #9641AF
tetradic
#AF9641 #41AF5F #415AAF #AF4191
square
#AF9641 #41AF5F #415AAF #AF4191
split-complementary
#AF9641 #4191AF #5F41AF
monochromatic
#564A20 #827030 #AF9641 #C6B167 #D7C893

Accessibility & contrast

On white

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

On black

7.26
#AF9641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9641
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9641#FFFFFF#000000##000000
##AF96411.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9641;
/* rgb */ color: rgb(175, 150, 65);
/* oklch */ color: oklch(67.9% 0.108 92.9);
Tailwind
colors: {
  custom: {
    50: '#cab479',
    500: '#af9641',
    950: '#000000',
  },
}
SCSS
$custom: #af9641;
$custom-light: #cab479;
$custom-dark: #000000;
JSON
{
  "hex": "#af9641",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 65
  },
  "hsl": {
    "h": 46.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67882,
    "c": 0.10835,
    "h": 92.9
  },
  "luminance": 0.31308
}

Semantic roles & 50–950 ramp

primary
#AF9641
secondary
#8996C2
accent
#70D552
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9641

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

Preview Lab → · Contrast checker → · Palette generator →

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