#AF962D#AF962D

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

Color values

HEX#AF962D
RGBrgb(175, 150, 45)
HSLhsl(48, 59%, 43%)
HSVhsv(48, 74%, 69%)
CMYKcmyk(0%, 14.3%, 74.3%, 31.4%)
CIE-LABlab(62.61, -1.98, 55.57)
CIE-LCHlch(62.61, 55.61, 92.04°)
OKLaboklab(67.7% -0.0111 0.1227)
OKLCHoklch(67.7% 0.123 95.2)
XYZxyz(29.0607, 31.1177, 6.9577)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF962D #2D46AF
analogous
#AF552D #AF962D #87AF2D
triadic
#AF962D #2DAF96 #962DAF
tetradic
#AF962D #2DAF55 #2D46AF #AF2D87
square
#AF962D #2DAF55 #2D46AF #AF2D87
split-complementary
#AF962D #2D87AF #552DAF
monochromatic
#4E4314 #7E6C20 #AF962D #D0B649 #DDCA7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF962D#FFFFFF#000000##000000
##AF962D1.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)
#A6931B
Deuteranopia (green-blind)
#AC9B33
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af962d;
/* rgb */ color: rgb(175, 150, 45);
/* oklch */ color: oklch(67.7% 0.123 95.2);
Tailwind
colors: {
  custom: {
    50: '#cbb46d',
    500: '#af962d',
    950: '#000000',
  },
}
SCSS
$custom: #af962d;
$custom-light: #cbb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#af962d",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 48.462,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67703,
    "c": 0.12316,
    "h": 95.2
  },
  "luminance": 0.31116
}

Semantic roles & 50–950 ramp

primary
#AF962D
secondary
#7383C5
accent
#64E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AF962D

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

Preview Lab → · Contrast checker → · Palette generator →

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