#AF9943#AF9943

#AF9943 is a light, moderate yellow. Relative luminance 0.323; OKLCH L 68.5% C 0.109 H 95.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#AF9943
RGBrgb(175, 153, 67)
HSLhsl(48, 45%, 47%)
HSVhsv(48, 62%, 69%)
CMYKcmyk(0%, 12.6%, 61.7%, 31.4%)
CIE-LABlab(63.59, -2.32, 47.12)
CIE-LCHlch(63.59, 47.17, 92.82°)
OKLaboklab(68.54% -0.0095 0.1084)
OKLCHoklch(68.54% 0.109 95)
XYZxyz(30.0849, 32.3031, 9.9596)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9943 #4359AF
analogous
#AF6343 #AF9943 #8FAF43
triadic
#AF9943 #43AF99 #9943AF
tetradic
#AF9943 #43AF63 #4359AF #AF438F
square
#AF9943 #43AF63 #4359AF #AF438F
split-complementary
#AF9943 #438FAF #6343AF
monochromatic
#564C21 #837232 #AF9943 #C6B369 #D7C996

Accessibility & contrast

On white

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

On black

7.46
#AF9943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9943
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9943#FFFFFF#000000##000000
##AF99431.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8963A
Deuteranopia (green-blind)
#AD9D47
Tritanopia (blue-blind)
#BC8E86
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9943;
/* rgb */ color: rgb(175, 153, 67);
/* oklch */ color: oklch(68.5% 0.109 95.0);
Tailwind
colors: {
  custom: {
    50: '#cab67a',
    500: '#af9943',
    950: '#000000',
  },
}
SCSS
$custom: #af9943;
$custom-light: #cab67a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9943",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 67
  },
  "hsl": {
    "h": 47.778,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6854,
    "c": 0.10885,
    "h": 95
  },
  "luminance": 0.32302
}

Semantic roles & 50–950 ramp

primary
#AF9943
secondary
#8B97C2
accent
#6ED453
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9943

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

Preview Lab → · Contrast checker → · Palette generator →

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