#AF982F#AF982F

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

Color values

HEX#AF982F
RGBrgb(175, 152, 47)
HSLhsl(49, 58%, 44%)
HSVhsv(49, 73%, 69%)
CMYKcmyk(0%, 13.1%, 73.1%, 31.4%)
CIE-LABlab(63.16, -2.97, 55.33)
CIE-LCHlch(63.16, 55.41, 93.07°)
OKLaboklab(68.14% -0.0137 0.1225)
OKLCHoklch(68.14% 0.123 96.4)
XYZxyz(29.4220, 31.7772, 7.2727)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF982F #2F46AF
analogous
#AF582F #AF982F #86AF2F
triadic
#AF982F #2FAF98 #982FAF
tetradic
#AF982F #2FAF58 #2F46AF #AF2F86
square
#AF982F #2FAF58 #2F46AF #AF2F86
split-complementary
#AF982F #2F86AF #582FAF
monochromatic
#4F4415 #7F6E22 #AF982F #CFB74C #DCCB7C

Accessibility & contrast

On white

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

On black

7.36
#AF982F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF982F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF982F#FFFFFF#000000##000000
##AF982F1.002.867.367.36
#FFFFFF2.861.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af982f;
/* rgb */ color: rgb(175, 152, 47);
/* oklch */ color: oklch(68.1% 0.123 96.4);
Tailwind
colors: {
  custom: {
    50: '#cbb66f',
    500: '#af982f',
    950: '#000000',
  },
}
SCSS
$custom: #af982f;
$custom-light: #cbb66f;
$custom-dark: #000000;
JSON
{
  "hex": "#af982f",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 49.219,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68143,
    "c": 0.1233,
    "h": 96.4
  },
  "luminance": 0.31776
}

Semantic roles & 50–950 ramp

primary
#AF982F
secondary
#7584C4
accent
#63E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AF982F

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

Preview Lab → · Contrast checker → · Palette generator →

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