#AF9B41#AF9B41

#AF9B41 is a light, moderate yellow. Relative luminance 0.329; OKLCH L 68.9% C 0.112 H 96.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AF9B41
RGBrgb(175, 155, 65)
HSLhsl(49, 46%, 47%)
HSVhsv(49, 63%, 69%)
CMYKcmyk(0%, 11.4%, 62.9%, 31.4%)
CIE-LABlab(64.11, -3.54, 48.62)
CIE-LCHlch(64.11, 48.75, 94.16°)
OKLaboklab(68.94% -0.0132 0.1114)
OKLCHoklch(68.94% 0.112 96.8)
XYZxyz(30.3560, 32.9397, 9.7590)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B41 #4155AF
analogous
#AF6441 #AF9B41 #8CAF41
triadic
#AF9B41 #41AF9B #9B41AF
tetradic
#AF9B41 #41AF64 #4155AF #AF418C
square
#AF9B41 #41AF64 #4155AF #AF418C
split-complementary
#AF9B41 #418CAF #6441AF
monochromatic
#564C20 #827330 #AF9B41 #C6B567 #D7CB93

Accessibility & contrast

On white

2.77
#AF9B41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#AF9B41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B41
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B41#FFFFFF#000000##000000
##AF9B411.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9837
Deuteranopia (green-blind)
#AF9E45
Tritanopia (blue-blind)
#BC9088
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9b41;
/* rgb */ color: rgb(175, 155, 65);
/* oklch */ color: oklch(68.9% 0.112 96.8);
Tailwind
colors: {
  custom: {
    50: '#cab879',
    500: '#af9b41',
    950: '#000000',
  },
}
SCSS
$custom: #af9b41;
$custom-light: #cab879;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b41",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 65
  },
  "hsl": {
    "h": 49.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.68944,
    "c": 0.11215,
    "h": 96.8
  },
  "luminance": 0.32938
}

Semantic roles & 50–950 ramp

primary
#AF9B41
secondary
#8994C2
accent
#6AD552
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9B41

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

Preview Lab → · Contrast checker → · Palette generator →

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