#AF983F#AF983F

#AF983F is a light, moderate yellow. Relative luminance 0.319; OKLCH L 68.3% C 0.111 H 94.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AF983F
RGBrgb(175, 152, 63)
HSLhsl(48, 47%, 47%)
HSVhsv(48, 64%, 69%)
CMYKcmyk(0%, 13.1%, 64%, 31.4%)
CIE-LABlab(63.29, -2.05, 48.64)
CIE-LCHlch(63.29, 48.68, 92.42°)
OKLaboklab(68.29% -0.0092 0.1111)
OKLCHoklch(68.29% 0.111 94.7)
XYZxyz(29.8060, 31.9308, 9.2950)
Luminance0.3193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF983F #3F56AF
analogous
#AF603F #AF983F #8EAF3F
triadic
#AF983F #3FAF98 #983FAF
tetradic
#AF983F #3FAF60 #3F56AF #AF3F8E
square
#AF983F #3FAF60 #3F56AF #AF3F8E
split-complementary
#AF983F #3F8EAF #603FAF
monochromatic
#554A1F #82712F #AF983F #C7B364 #D7C991

Accessibility & contrast

On white

2.84
#AF983F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AF983F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF983F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF983F#FFFFFF#000000##000000
##AF983F1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79535
Deuteranopia (green-blind)
#AD9C43
Tritanopia (blue-blind)
#BC8D85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af983f;
/* rgb */ color: rgb(175, 152, 63);
/* oklch */ color: oklch(68.3% 0.111 94.7);
Tailwind
colors: {
  custom: {
    50: '#cab678',
    500: '#af983f',
    950: '#000000',
  },
}
SCSS
$custom: #af983f;
$custom-light: #cab678;
$custom-dark: #000000;
JSON
{
  "hex": "#af983f",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 63
  },
  "hsl": {
    "h": 47.679,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.68285,
    "c": 0.11148,
    "h": 94.7
  },
  "luminance": 0.31929
}

Semantic roles & 50–950 ramp

primary
#AF983F
secondary
#8793C3
accent
#6DD751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF983F

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

Preview Lab → · Contrast checker → · Palette generator →

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