#AB962A#AB962A

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

Color values

HEX#AB962A
RGBrgb(171, 150, 42)
HSLhsl(50, 61%, 42%)
HSVhsv(50, 75%, 67%)
CMYKcmyk(0%, 12.3%, 75.4%, 32.9%)
CIE-LABlab(62.20, -3.91, 56.18)
CIE-LCHlch(62.20, 56.31, 93.98°)
OKLaboklab(67.29% -0.0167 0.1235)
OKLCHoklch(67.29% 0.125 97.7)
XYZxyz(28.1203, 30.6392, 6.6228)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB962A #2A3FAB
analogous
#AB562A #AB962A #7FAB2A
triadic
#AB962A #2AAB96 #962AAB
tetradic
#AB962A #2AAB56 #2A3FAB #AB2A7F
square
#AB962A #2AAB56 #2A3FAB #AB2A7F
split-complementary
#AB962A #2A7FAB #562AAB
monochromatic
#494012 #7A6B1E #AB962A #D1B942 #DDCB73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB962A#FFFFFF#000000##000000
##AB962A1.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)
#A59216
Deuteranopia (green-blind)
#AB9931
Tritanopia (blue-blind)
#B98A81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab962a;
/* rgb */ color: rgb(171, 150, 42);
/* oklch */ color: oklch(67.3% 0.125 97.7);
Tailwind
colors: {
  custom: {
    50: '#c8b46c',
    500: '#ab962a',
    950: '#000000',
  },
}
SCSS
$custom: #ab962a;
$custom-light: #c8b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab962a",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 50.233,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67286,
    "c": 0.12464,
    "h": 97.7
  },
  "luminance": 0.30638
}

Semantic roles & 50–950 ramp

primary
#AB962A
secondary
#6D7BC4
accent
#5EE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB962A

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

Preview Lab → · Contrast checker → · Palette generator →

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