#AF962C#AF962C

#AF962C is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.124 H 95.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AF962C
RGBrgb(175, 150, 44)
HSLhsl(49, 60%, 43%)
HSVhsv(49, 75%, 69%)
CMYKcmyk(0%, 14.3%, 74.9%, 31.4%)
CIE-LABlab(62.60, -2.03, 55.95)
CIE-LCHlch(62.60, 55.98, 92.07°)
OKLaboklab(67.7% -0.0114 0.1232)
OKLCHoklch(67.7% 0.124 95.3)
XYZxyz(29.0417, 31.1101, 6.8575)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF962C #2C45AF
analogous
#AF552C #AF962C #86AF2C
triadic
#AF962C #2CAF96 #962CAF
tetradic
#AF962C #2CAF55 #2C45AF #AF2C86
square
#AF962C #2CAF55 #2C45AF #AF2C86
split-complementary
#AF962C #2C86AF #552CAF
monochromatic
#4D4213 #7E6C20 #AF962C #D1B747 #DDCA78

Accessibility & contrast

On white

2.91
#AF962C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AF962C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF962C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF962C#FFFFFF#000000##000000
##AF962C1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931A
Deuteranopia (green-blind)
#AC9B32
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af962c;
/* rgb */ color: rgb(175, 150, 44);
/* oklch */ color: oklch(67.7% 0.124 95.3);
Tailwind
colors: {
  custom: {
    50: '#cbb46d',
    500: '#af962c',
    950: '#000000',
  },
}
SCSS
$custom: #af962c;
$custom-light: #cbb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#af962c",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 48.55,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67695,
    "c": 0.12377,
    "h": 95.3
  },
  "luminance": 0.31109
}

Semantic roles & 50–950 ramp

primary
#AF962C
secondary
#7282C5
accent
#63E345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF962C

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

Preview Lab → · Contrast checker → · Palette generator →

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