#AF962E#AF962E

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

Color values

HEX#AF962E
RGBrgb(175, 150, 46)
HSLhsl(48, 58%, 43%)
HSVhsv(48, 74%, 69%)
CMYKcmyk(0%, 14.3%, 73.7%, 31.4%)
CIE-LABlab(62.61, -1.93, 55.19)
CIE-LCHlch(62.61, 55.22, 92.01°)
OKLaboklab(67.71% -0.0109 0.122)
OKLCHoklch(67.71% 0.123 95.1)
XYZxyz(29.0802, 31.1255, 7.0603)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF962E #2E47AF
analogous
#AF552E #AF962E #87AF2E
triadic
#AF962E #2EAF96 #962EAF
tetradic
#AF962E #2EAF55 #2E47AF #AF2E87
square
#AF962E #2EAF55 #2E47AF #AF2E87
split-complementary
#AF962E #2E87AF #552EAF
monochromatic
#4E4315 #7F6C21 #AF962E #D0B64B #DCC97B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF962E#FFFFFF#000000##000000
##AF962E1.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)
#A6931D
Deuteranopia (green-blind)
#AC9B34
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af962e;
/* rgb */ color: rgb(175, 150, 46);
/* oklch */ color: oklch(67.7% 0.123 95.1);
Tailwind
colors: {
  custom: {
    50: '#cbb46e',
    500: '#af962e',
    950: '#000000',
  },
}
SCSS
$custom: #af962e;
$custom-light: #cbb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#af962e",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 48.372,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6771,
    "c": 0.12253,
    "h": 95.1
  },
  "luminance": 0.31124
}

Semantic roles & 50–950 ramp

primary
#AF962E
secondary
#7484C5
accent
#64E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AF962E

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

Preview Lab → · Contrast checker → · Palette generator →

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