#AF962A#AF962A

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

Color values

HEX#AF962A
RGBrgb(175, 150, 42)
HSLhsl(49, 61%, 43%)
HSVhsv(49, 76%, 69%)
CMYKcmyk(0%, 14.3%, 76%, 31.4%)
CIE-LABlab(62.59, -2.12, 56.68)
CIE-LCHlch(62.59, 56.72, 92.14°)
OKLaboklab(67.68% -0.0119 0.1244)
OKLCHoklch(67.68% 0.125 95.4)
XYZxyz(29.0050, 31.0954, 6.6643)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF962A #2A43AF
analogous
#AF542A #AF962A #85AF2A
triadic
#AF962A #2AAF96 #962AAF
tetradic
#AF962A #2AAF54 #2A43AF #AF2A85
square
#AF962A #2AAF54 #2A43AF #AF2A85
split-complementary
#AF962A #2A85AF #542AAF
monochromatic
#4C4112 #7E6C1E #AF962A #D2B744 #DECA75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF962A#FFFFFF#000000##000000
##AF962A1.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)
#A69316
Deuteranopia (green-blind)
#AC9B31
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af962a;
/* rgb */ color: rgb(175, 150, 42);
/* oklch */ color: oklch(67.7% 0.125 95.4);
Tailwind
colors: {
  custom: {
    50: '#cbb46c',
    500: '#af962a',
    950: '#000000',
  },
}
SCSS
$custom: #af962a;
$custom-light: #cbb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#af962a",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 48.722,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.12496,
    "h": 95.4
  },
  "luminance": 0.31094
}

Semantic roles & 50–950 ramp

primary
#AF962A
secondary
#6F7FC6
accent
#62E443
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF962A

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

Preview Lab → · Contrast checker → · Palette generator →

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