#AF983B#AF983B

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

Color values

HEX#AF983B
RGBrgb(175, 152, 59)
HSLhsl(48, 50%, 46%)
HSVhsv(48, 66%, 69%)
CMYKcmyk(0%, 13.1%, 66.3%, 31.4%)
CIE-LABlab(63.25, -2.31, 50.40)
CIE-LCHlch(63.25, 50.46, 92.62°)
OKLaboklab(68.25% -0.0104 0.1142)
OKLCHoklch(68.25% 0.115 95.2)
XYZxyz(29.6982, 31.8877, 8.7275)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF983B #3B52AF
analogous
#AF5E3B #AF983B #8CAF3B
triadic
#AF983B #3BAF98 #983BAF
tetradic
#AF983B #3BAF5E #3B52AF #AF3B8C
square
#AF983B #3BAF5E #3B52AF #AF3B8C
split-complementary
#AF983B #3B8CAF #5E3BAF
monochromatic
#53481C #81702C #AF983B #C9B45E #D8C98C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF983B#FFFFFF#000000##000000
##AF983B1.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)
#A79530
Deuteranopia (green-blind)
#AD9C40
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af983b;
/* rgb */ color: rgb(175, 152, 59);
/* oklch */ color: oklch(68.2% 0.115 95.2);
Tailwind
colors: {
  custom: {
    50: '#cab675',
    500: '#af983b',
    950: '#000000',
  },
}
SCSS
$custom: #af983b;
$custom-light: #cab675;
$custom-dark: #000000;
JSON
{
  "hex": "#af983b",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 59
  },
  "hsl": {
    "h": 48.103,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68245,
    "c": 0.11471,
    "h": 95.2
  },
  "luminance": 0.31886
}

Semantic roles & 50–950 ramp

primary
#AF983B
secondary
#8390C3
accent
#6AD94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF983B

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

Preview Lab → · Contrast checker → · Palette generator →

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