#AF962B#AF962B

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

Color values

HEX#AF962B
RGBrgb(175, 150, 43)
HSLhsl(49, 61%, 43%)
HSVhsv(49, 75%, 69%)
CMYKcmyk(0%, 14.3%, 75.4%, 31.4%)
CIE-LABlab(62.59, -2.07, 56.31)
CIE-LCHlch(62.59, 56.35, 92.11°)
OKLaboklab(67.69% -0.0116 0.1238)
OKLCHoklch(67.69% 0.124 95.4)
XYZxyz(29.0231, 31.1027, 6.7597)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF962B #2B44AF
analogous
#AF542B #AF962B #86AF2B
triadic
#AF962B #2BAF96 #962BAF
tetradic
#AF962B #2BAF54 #2B44AF #AF2B86
square
#AF962B #2BAF54 #2B44AF #AF2B86
split-complementary
#AF962B #2B86AF #542BAF
monochromatic
#4D4213 #7E6C1F #AF962B #D1B746 #DECA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF962B#FFFFFF#000000##000000
##AF962B1.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)
#A69318
Deuteranopia (green-blind)
#AC9B32
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af962b;
/* rgb */ color: rgb(175, 150, 43);
/* oklch */ color: oklch(67.7% 0.124 95.4);
Tailwind
colors: {
  custom: {
    50: '#cbb46c',
    500: '#af962b',
    950: '#000000',
  },
}
SCSS
$custom: #af962b;
$custom-light: #cbb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#af962b",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 48.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67689,
    "c": 0.12437,
    "h": 95.4
  },
  "luminance": 0.31101
}

Semantic roles & 50–950 ramp

primary
#AF962B
secondary
#7081C5
accent
#62E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF962B

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

Preview Lab → · Contrast checker → · Palette generator →

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