#AB962F#AB962F

#AB962F is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.3% C 0.121 H 97.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AB962F
RGBrgb(171, 150, 47)
HSLhsl(50, 57%, 43%)
HSVhsv(50, 73%, 67%)
CMYKcmyk(0%, 12.3%, 72.5%, 32.9%)
CIE-LABlab(62.23, -3.67, 54.30)
CIE-LCHlch(62.23, 54.42, 93.87°)
OKLaboklab(67.32% -0.0155 0.1205)
OKLCHoklch(67.32% 0.121 97.3)
XYZxyz(28.2154, 30.6773, 7.1239)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB962F #2F44AB
analogous
#AB582F #AB962F #82AB2F
triadic
#AB962F #2FAB96 #962FAB
tetradic
#AB962F #2FAB58 #2F44AB #AB2F82
square
#AB962F #2FAB58 #2F44AB #AB2F82
split-complementary
#AB962F #2F82AB #582FAB
monochromatic
#4B4215 #7B6C22 #AB962F #CDB74A #DACA7A

Accessibility & contrast

On white

2.94
#AB962F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AB962F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB962F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB962F#FFFFFF#000000##000000
##AB962F1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921F
Deuteranopia (green-blind)
#AB9935
Tritanopia (blue-blind)
#B98A82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab962f;
/* rgb */ color: rgb(171, 150, 47);
/* oklch */ color: oklch(67.3% 0.121 97.3);
Tailwind
colors: {
  custom: {
    50: '#c8b46e',
    500: '#ab962f',
    950: '#000000',
  },
}
SCSS
$custom: #ab962f;
$custom-light: #c8b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab962f",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 49.839,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67321,
    "c": 0.12149,
    "h": 97.3
  },
  "luminance": 0.30676
}

Semantic roles & 50–950 ramp

primary
#AB962F
secondary
#7381C3
accent
#61E048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB962F

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

Preview Lab → · Contrast checker → · Palette generator →

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