#AB962D#AB962D

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

Color values

HEX#AB962D
RGBrgb(171, 150, 45)
HSLhsl(50, 58%, 42%)
HSVhsv(50, 74%, 67%)
CMYKcmyk(0%, 12.3%, 73.7%, 32.9%)
CIE-LABlab(62.22, -3.77, 55.06)
CIE-LCHlch(62.22, 55.19, 93.92°)
OKLaboklab(67.31% -0.016 0.1217)
OKLCHoklch(67.31% 0.123 97.5)
XYZxyz(28.1760, 30.6615, 6.9163)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB962D #2D42AB
analogous
#AB572D #AB962D #81AB2D
triadic
#AB962D #2DAB96 #962DAB
tetradic
#AB962D #2DAB57 #2D42AB #AB2D81
square
#AB962D #2DAB57 #2D42AB #AB2D81
split-complementary
#AB962D #2D81AB #572DAB
monochromatic
#4A4114 #7B6C20 #AB962D #CEB847 #DBCB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB962D#FFFFFF#000000##000000
##AB962D1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab962d;
/* rgb */ color: rgb(171, 150, 45);
/* oklch */ color: oklch(67.3% 0.123 97.5);
Tailwind
colors: {
  custom: {
    50: '#c8b46d',
    500: '#ab962d',
    950: '#000000',
  },
}
SCSS
$custom: #ab962d;
$custom-light: #c8b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab962d",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 50,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67307,
    "c": 0.12279,
    "h": 97.5
  },
  "luminance": 0.3066
}

Semantic roles & 50–950 ramp

primary
#AB962D
secondary
#717EC3
accent
#60E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB962D

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

Preview Lab → · Contrast checker → · Palette generator →

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