#AF9643#AF9643

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

Color values

HEX#AF9643
RGBrgb(175, 150, 67)
HSLhsl(46, 45%, 47%)
HSVhsv(46, 62%, 69%)
CMYKcmyk(0%, 14.3%, 61.7%, 31.4%)
CIE-LABlab(62.79, -0.69, 46.22)
CIE-LCHlch(62.79, 46.22, 90.86°)
OKLaboklab(67.9% -0.0048 0.1065)
OKLCHoklch(67.9% 0.107 92.6)
XYZxyz(29.6000, 31.3334, 9.7979)
Luminance0.3133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9643 #435CAF
analogous
#AF6043 #AF9643 #92AF43
triadic
#AF9643 #43AF96 #9643AF
tetradic
#AF9643 #43AF60 #435CAF #AF4392
square
#AF9643 #43AF60 #435CAF #AF4392
split-complementary
#AF9643 #4392AF #6043AF
monochromatic
#564A21 #837032 #AF9643 #C6B069 #D7C896

Accessibility & contrast

On white

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

On black

7.27
#AF9643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9643
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9643#FFFFFF#000000##000000
##AF96431.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9643;
/* rgb */ color: rgb(175, 150, 67);
/* oklch */ color: oklch(67.9% 0.107 92.6);
Tailwind
colors: {
  custom: {
    50: '#cab47a',
    500: '#af9643',
    950: '#000000',
  },
}
SCSS
$custom: #af9643;
$custom-light: #cab47a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9643",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 67
  },
  "hsl": {
    "h": 46.111,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67904,
    "c": 0.10663,
    "h": 92.6
  },
  "luminance": 0.31332
}

Semantic roles & 50–950 ramp

primary
#AF9643
secondary
#8B98C2
accent
#71D453
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9643

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

Preview Lab → · Contrast checker → · Palette generator →

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