#AB962B#AB962B

#AB962B is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.3% C 0.124 H 97.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#AB962B
RGBrgb(171, 150, 43)
HSLhsl(50, 60%, 42%)
HSVhsv(50, 75%, 67%)
CMYKcmyk(0%, 12.3%, 74.9%, 32.9%)
CIE-LABlab(62.21, -3.86, 55.81)
CIE-LCHlch(62.21, 55.94, 93.96°)
OKLaboklab(67.29% -0.0165 0.1229)
OKLCHoklch(67.29% 0.124 97.6)
XYZxyz(28.1384, 30.6465, 6.7183)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB962B #2B40AB
analogous
#AB562B #AB962B #80AB2B
triadic
#AB962B #2BAB96 #962BAB
tetradic
#AB962B #2BAB56 #2B40AB #AB2B80
square
#AB962B #2BAB56 #2B40AB #AB2B80
split-complementary
#AB962B #2B80AB #562BAB
monochromatic
#494012 #7A6B1F #AB962B #D0B943 #DCCB74

Accessibility & contrast

On white

2.95
#AB962B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#AB962B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB962B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB962B#FFFFFF#000000##000000
##AB962B1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59218
Deuteranopia (green-blind)
#AB9932
Tritanopia (blue-blind)
#B98A81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab962b;
/* rgb */ color: rgb(171, 150, 43);
/* oklch */ color: oklch(67.3% 0.124 97.6);
Tailwind
colors: {
  custom: {
    50: '#c8b46c',
    500: '#ab962b',
    950: '#000000',
  },
}
SCSS
$custom: #ab962b;
$custom-light: #c8b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab962b",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 50.156,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.12403,
    "h": 97.6
  },
  "luminance": 0.30645
}

Semantic roles & 50–950 ramp

primary
#AB962B
secondary
#6E7CC4
accent
#5FE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB962B

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

Preview Lab → · Contrast checker → · Palette generator →

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