#AF9741#AF9741

#AF9741 is a light, moderate yellow. Relative luminance 0.316; OKLCH L 68.1% C 0.109 H 93.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AF9741
RGBrgb(175, 151, 65)
HSLhsl(47, 46%, 47%)
HSVhsv(47, 63%, 69%)
CMYKcmyk(0%, 13.7%, 62.9%, 31.4%)
CIE-LABlab(63.04, -1.37, 47.44)
CIE-LCHlch(63.04, 47.46, 91.66°)
OKLaboklab(68.09% -0.007 0.1088)
OKLCHoklch(68.09% 0.109 93.7)
XYZxyz(29.7013, 31.6303, 9.5408)
Luminance0.3163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9741 #4159AF
analogous
#AF6041 #AF9741 #90AF41
triadic
#AF9741 #41AF97 #9741AF
tetradic
#AF9741 #41AF60 #4159AF #AF4190
square
#AF9741 #41AF60 #4159AF #AF4190
split-complementary
#AF9741 #4190AF #6041AF
monochromatic
#564A20 #827030 #AF9741 #C6B267 #D7C893

Accessibility & contrast

On white

2.87
#AF9741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AF9741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9741
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9741#FFFFFF#000000##000000
##AF97411.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69438
Deuteranopia (green-blind)
#AC9C45
Tritanopia (blue-blind)
#BC8C84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9741;
/* rgb */ color: rgb(175, 151, 65);
/* oklch */ color: oklch(68.1% 0.109 93.7);
Tailwind
colors: {
  custom: {
    50: '#cab579',
    500: '#af9741',
    950: '#000000',
  },
}
SCSS
$custom: #af9741;
$custom-light: #cab579;
$custom-dark: #000000;
JSON
{
  "hex": "#af9741",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 65
  },
  "hsl": {
    "h": 46.909,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.68093,
    "c": 0.10907,
    "h": 93.7
  },
  "luminance": 0.31629
}

Semantic roles & 50–950 ramp

primary
#AF9741
secondary
#8996C2
accent
#6FD552
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9741

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

Preview Lab → · Contrast checker → · Palette generator →

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