#AF962F#AF962F

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

Color values

HEX#AF962F
RGBrgb(175, 150, 47)
HSLhsl(48, 58%, 44%)
HSVhsv(48, 73%, 69%)
CMYKcmyk(0%, 14.3%, 73.1%, 31.4%)
CIE-LABlab(62.62, -1.89, 54.81)
CIE-LCHlch(62.62, 54.84, 91.97°)
OKLaboklab(67.72% -0.0107 0.1214)
OKLCHoklch(67.72% 0.122 95)
XYZxyz(29.1001, 31.1335, 7.1654)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF962F #2F48AF
analogous
#AF562F #AF962F #88AF2F
triadic
#AF962F #2FAF96 #962FAF
tetradic
#AF962F #2FAF56 #2F48AF #AF2F88
square
#AF962F #2FAF56 #2F48AF #AF2F88
split-complementary
#AF962F #2F88AF #562FAF
monochromatic
#4F4315 #7F6D22 #AF962F #CFB54C #DCC97C

Accessibility & contrast

On white

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

On black

7.23
#AF962F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF962F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF962F#FFFFFF#000000##000000
##AF962F1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#BD8A82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af962f;
/* rgb */ color: rgb(175, 150, 47);
/* oklch */ color: oklch(67.7% 0.122 95.0);
Tailwind
colors: {
  custom: {
    50: '#cbb46e',
    500: '#af962f',
    950: '#000000',
  },
}
SCSS
$custom: #af962f;
$custom-light: #cbb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#af962f",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 48.281,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67717,
    "c": 0.12188,
    "h": 95
  },
  "luminance": 0.31132
}

Semantic roles & 50–950 ramp

primary
#AF962F
secondary
#7585C4
accent
#65E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AF962F

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

Preview Lab → · Contrast checker → · Palette generator →

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