#AF982A#AF982A

#AF982A is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.1% C 0.126 H 96.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#AF982A
RGBrgb(175, 152, 42)
HSLhsl(50, 61%, 43%)
HSVhsv(50, 76%, 69%)
CMYKcmyk(0%, 13.1%, 76%, 31.4%)
CIE-LABlab(63.13, -3.20, 57.19)
CIE-LCHlch(63.13, 57.28, 93.20°)
OKLaboklab(68.11% -0.0149 0.1255)
OKLCHoklch(68.11% 0.126 96.8)
XYZxyz(29.3269, 31.7392, 6.7716)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF982A #2A41AF
analogous
#AF552A #AF982A #83AF2A
triadic
#AF982A #2AAF98 #982AAF
tetradic
#AF982A #2AAF55 #2A41AF #AF2A83
square
#AF982A #2AAF55 #2A41AF #AF2A83
split-complementary
#AF982A #2A83AF #552AAF
monochromatic
#4C4212 #7E6D1E #AF982A #D2BA44 #DECC75

Accessibility & contrast

On white

2.86
#AF982A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#AF982A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF982A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF982A#FFFFFF#000000##000000
##AF982A1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89415
Deuteranopia (green-blind)
#AE9C31
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af982a;
/* rgb */ color: rgb(175, 152, 42);
/* oklch */ color: oklch(68.1% 0.126 96.8);
Tailwind
colors: {
  custom: {
    50: '#cbb56c',
    500: '#af982a',
    950: '#000000',
  },
}
SCSS
$custom: #af982a;
$custom-light: #cbb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#af982a",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 49.624,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68108,
    "c": 0.12637,
    "h": 96.8
  },
  "luminance": 0.31738
}

Semantic roles & 50–950 ramp

primary
#AF982A
secondary
#6F7EC6
accent
#5FE443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF982A

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

Preview Lab → · Contrast checker → · Palette generator →

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