#AF983A#AF983A

#AF983A is a light, moderate yellow. Relative luminance 0.319; OKLCH L 68.2% C 0.115 H 95.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AF983A
RGBrgb(175, 152, 58)
HSLhsl(48, 50%, 46%)
HSVhsv(48, 67%, 69%)
CMYKcmyk(0%, 13.1%, 66.9%, 31.4%)
CIE-LABlab(63.24, -2.37, 50.84)
CIE-LCHlch(63.24, 50.89, 92.67°)
OKLaboklab(68.24% -0.0107 0.115)
OKLCHoklch(68.24% 0.115 95.3)
XYZxyz(29.6726, 31.8774, 8.5922)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF983A #3A51AF
analogous
#AF5D3A #AF983A #8BAF3A
triadic
#AF983A #3AAF98 #983AAF
tetradic
#AF983A #3AAF5D #3A51AF #AF3A8B
square
#AF983A #3AAF5D #3A51AF #AF3A8B
split-complementary
#AF983A #3A8BAF #5D3AAF
monochromatic
#53481C #81702B #AF983A #C9B45D #D9C98B

Accessibility & contrast

On white

2.85
#AF983A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#AF983A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF983A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF983A#FFFFFF#000000##000000
##AF983A1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7952E
Deuteranopia (green-blind)
#AD9C3F
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af983a;
/* rgb */ color: rgb(175, 152, 58);
/* oklch */ color: oklch(68.2% 0.115 95.3);
Tailwind
colors: {
  custom: {
    50: '#cab675',
    500: '#af983a',
    950: '#000000',
  },
}
SCSS
$custom: #af983a;
$custom-light: #cab675;
$custom-dark: #000000;
JSON
{
  "hex": "#af983a",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 58
  },
  "hsl": {
    "h": 48.205,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68235,
    "c": 0.11549,
    "h": 95.3
  },
  "luminance": 0.31876
}

Semantic roles & 50–950 ramp

primary
#AF983A
secondary
#828FC3
accent
#6ADA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF983A

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

Preview Lab → · Contrast checker → · Palette generator →

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