#AF982C#AF982C

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

Color values

HEX#AF982C
RGBrgb(175, 152, 44)
HSLhsl(49, 60%, 43%)
HSVhsv(49, 75%, 69%)
CMYKcmyk(0%, 13.1%, 74.9%, 31.4%)
CIE-LABlab(63.14, -3.11, 56.46)
CIE-LCHlch(63.14, 56.55, 93.15°)
OKLaboklab(68.12% -0.0145 0.1243)
OKLCHoklch(68.12% 0.125 96.6)
XYZxyz(29.3636, 31.7538, 6.9648)
Luminance0.3175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF982C #2C43AF
analogous
#AF572C #AF982C #84AF2C
triadic
#AF982C #2CAF98 #982CAF
tetradic
#AF982C #2CAF57 #2C43AF #AF2C84
square
#AF982C #2CAF57 #2C43AF #AF2C84
split-complementary
#AF982C #2C84AF #572CAF
monochromatic
#4D4313 #7E6E20 #AF982C #D1B947 #DDCB78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF982C#FFFFFF#000000##000000
##AF982C1.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)
#A89519
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af982c;
/* rgb */ color: rgb(175, 152, 44);
/* oklch */ color: oklch(68.1% 0.125 96.6);
Tailwind
colors: {
  custom: {
    50: '#cbb56d',
    500: '#af982c',
    950: '#000000',
  },
}
SCSS
$custom: #af982c;
$custom-light: #cbb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#af982c",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 49.466,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68122,
    "c": 0.12518,
    "h": 96.6
  },
  "luminance": 0.31752
}

Semantic roles & 50–950 ramp

primary
#AF982C
secondary
#7280C5
accent
#61E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AF982C

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

Preview Lab → · Contrast checker → · Palette generator →

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