#AF983C#AF983C

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

Color values

HEX#AF983C
RGBrgb(175, 152, 60)
HSLhsl(48, 49%, 46%)
HSVhsv(48, 66%, 69%)
CMYKcmyk(0%, 13.1%, 65.7%, 31.4%)
CIE-LABlab(63.26, -2.25, 49.97)
CIE-LCHlch(63.26, 50.02, 92.57°)
OKLaboklab(68.26% -0.0101 0.1135)
OKLCHoklch(68.26% 0.114 95.1)
XYZxyz(29.7244, 31.8982, 8.8654)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF983C #3C53AF
analogous
#AF5E3C #AF983C #8CAF3C
triadic
#AF983C #3CAF98 #983CAF
tetradic
#AF983C #3CAF5E #3C53AF #AF3C8C
square
#AF983C #3CAF5E #3C53AF #AF3C8C
split-complementary
#AF983C #3C8CAF #5E3CAF
monochromatic
#54491D #81702C #AF983C #C8B360 #D8C98D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF983C#FFFFFF#000000##000000
##AF983C1.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)
#A79531
Deuteranopia (green-blind)
#AD9C41
Tritanopia (blue-blind)
#BD8D85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af983c;
/* rgb */ color: rgb(175, 152, 60);
/* oklch */ color: oklch(68.3% 0.114 95.1);
Tailwind
colors: {
  custom: {
    50: '#cab676',
    500: '#af983c',
    950: '#000000',
  },
}
SCSS
$custom: #af983c;
$custom-light: #cab676;
$custom-dark: #000000;
JSON
{
  "hex": "#af983c",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 60
  },
  "hsl": {
    "h": 48,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.68255,
    "c": 0.11392,
    "h": 95.1
  },
  "luminance": 0.31897
}

Semantic roles & 50–950 ramp

primary
#AF983C
secondary
#8491C3
accent
#6BD84F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF983C

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

Preview Lab → · Contrast checker → · Palette generator →

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