#AB9631#AB9631

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

Color values

HEX#AB9631
RGBrgb(171, 150, 49)
HSLhsl(50, 55%, 43%)
HSVhsv(50, 71%, 67%)
CMYKcmyk(0%, 12.3%, 71.3%, 32.9%)
CIE-LABlab(62.25, -3.57, 53.51)
CIE-LCHlch(62.25, 53.63, 93.82°)
OKLaboklab(67.34% -0.015 0.1192)
OKLCHoklch(67.34% 0.12 97.2)
XYZxyz(28.2567, 30.6938, 7.3413)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9631 #3146AB
analogous
#AB5931 #AB9631 #83AB31
triadic
#AB9631 #31AB96 #9631AB
tetradic
#AB9631 #31AB59 #3146AB #AB3183
square
#AB9631 #31AB59 #3146AB #AB3183
split-complementary
#AB9631 #3183AB #5931AB
monochromatic
#4C4316 #7B6C23 #AB9631 #CCB64D #DACA7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9631#FFFFFF#000000##000000
##AB96311.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)
#A59222
Deuteranopia (green-blind)
#AB9937
Tritanopia (blue-blind)
#B98B82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab9631;
/* rgb */ color: rgb(171, 150, 49);
/* oklch */ color: oklch(67.3% 0.120 97.2);
Tailwind
colors: {
  custom: {
    50: '#c8b46f',
    500: '#ab9631',
    950: '#000000',
  },
}
SCSS
$custom: #ab9631;
$custom-light: #c8b46f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9631",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 49
  },
  "hsl": {
    "h": 49.672,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67337,
    "c": 0.12014,
    "h": 97.2
  },
  "luminance": 0.30692
}

Semantic roles & 50–950 ramp

primary
#AB9631
secondary
#7583C2
accent
#63DF49
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9631

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

Preview Lab → · Contrast checker → · Palette generator →

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