#AF943A#AF943A

#AF943A is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.4% C 0.113 H 92.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AF943A
RGBrgb(175, 148, 58)
HSLhsl(46, 50%, 46%)
HSVhsv(46, 67%, 69%)
CMYKcmyk(0%, 15.4%, 66.9%, 31.4%)
CIE-LABlab(62.17, -0.20, 49.70)
CIE-LCHlch(62.17, 49.70, 90.23°)
OKLaboklab(67.39% -0.0045 0.1126)
OKLCHoklch(67.39% 0.113 92.3)
XYZxyz(29.0343, 30.6009, 8.3794)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF943A #3A55AF
analogous
#AF593A #AF943A #8FAF3A
triadic
#AF943A #3AAF94 #943AAF
tetradic
#AF943A #3AAF59 #3A55AF #AF3A8F
square
#AF943A #3AAF59 #3A55AF #AF3A8F
split-complementary
#AF943A #3A8FAF #593AAF
monochromatic
#53461C #816D2B #AF943A #C9B05D #D9C78B

Accessibility & contrast

On white

2.95
#AF943A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AF943A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF943A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF943A#FFFFFF#000000##000000
##AF943A1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3922F
Deuteranopia (green-blind)
#AA9A3E
Tritanopia (blue-blind)
#BD8981
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af943a;
/* rgb */ color: rgb(175, 148, 58);
/* oklch */ color: oklch(67.4% 0.113 92.3);
Tailwind
colors: {
  custom: {
    50: '#cab375',
    500: '#af943a',
    950: '#000000',
  },
}
SCSS
$custom: #af943a;
$custom-light: #cab375;
$custom-dark: #000000;
JSON
{
  "hex": "#af943a",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 58
  },
  "hsl": {
    "h": 46.154,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67388,
    "c": 0.11268,
    "h": 92.3
  },
  "luminance": 0.30599
}

Semantic roles & 50–950 ramp

primary
#AF943A
secondary
#8291C3
accent
#6EDA4E
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF943A

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

Preview Lab → · Contrast checker → · Palette generator →

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