#AB962E#AB962E

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

Color values

HEX#AB962E
RGBrgb(171, 150, 46)
HSLhsl(50, 58%, 43%)
HSVhsv(50, 73%, 67%)
CMYKcmyk(0%, 12.3%, 73.1%, 32.9%)
CIE-LABlab(62.23, -3.72, 54.68)
CIE-LCHlch(62.23, 54.81, 93.89°)
OKLaboklab(67.31% -0.0158 0.1211)
OKLCHoklch(67.31% 0.122 97.4)
XYZxyz(28.1955, 30.6693, 7.0189)
Luminance0.3067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB962E #2E43AB
analogous
#AB572E #AB962E #82AB2E
triadic
#AB962E #2EAB96 #962EAB
tetradic
#AB962E #2EAB57 #2E43AB #AB2E82
square
#AB962E #2EAB57 #2E43AB #AB2E82
split-complementary
#AB962E #2E82AB #572EAB
monochromatic
#4B4114 #7B6C21 #AB962E #CEB748 #DBCA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB962E#FFFFFF#000000##000000
##AB962E1.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)
#A5921D
Deuteranopia (green-blind)
#AB9934
Tritanopia (blue-blind)
#B98A81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab962e;
/* rgb */ color: rgb(171, 150, 46);
/* oklch */ color: oklch(67.3% 0.122 97.4);
Tailwind
colors: {
  custom: {
    50: '#c8b46e',
    500: '#ab962e',
    950: '#000000',
  },
}
SCSS
$custom: #ab962e;
$custom-light: #c8b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab962e",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 49.92,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67314,
    "c": 0.12214,
    "h": 97.4
  },
  "luminance": 0.30668
}

Semantic roles & 50–950 ramp

primary
#AB962E
secondary
#727FC3
accent
#61E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB962E

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

Preview Lab → · Contrast checker → · Palette generator →

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