#AB9126#AB9126

#AB9126 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 66.2% C 0.123 H 94.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB9126
RGBrgb(171, 145, 38)
HSLhsl(48, 64%, 41%)
HSVhsv(48, 78%, 67%)
CMYKcmyk(0%, 15.2%, 77.8%, 32.9%)
CIE-LABlab(60.83, -1.36, 56.33)
CIE-LCHlch(60.83, 56.35, 91.39°)
OKLaboklab(66.19% -0.0099 0.123)
OKLCHoklch(66.19% 0.123 94.6)
XYZxyz(27.2713, 29.0502, 6.0042)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9126 #2640AB
analogous
#AB4F26 #AB9126 #82AB26
triadic
#AB9126 #26AB91 #9126AB
tetradic
#AB9126 #26AB4F #2640AB #AB2682
square
#AB9126 #26AB4F #2640AB #AB2682
split-complementary
#AB9126 #2682AB #4F26AB
monochromatic
#473C10 #79671B #AB9126 #D3B63B #DFC86D

Accessibility & contrast

On white

3.08
#AB9126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AB9126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9126
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9126#FFFFFF#000000##000000
##AB91261.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#B9857D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab9126;
/* rgb */ color: rgb(171, 145, 38);
/* oklch */ color: oklch(66.2% 0.123 94.6);
Tailwind
colors: {
  custom: {
    50: '#c8b069',
    500: '#ab9126',
    950: '#000000',
  },
}
SCSS
$custom: #ab9126;
$custom-light: #c8b069;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9126",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 48.271,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66189,
    "c": 0.12343,
    "h": 94.6
  },
  "luminance": 0.29049
}

Semantic roles & 50–950 ramp

primary
#AB9126
secondary
#687AC5
accent
#61E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB9126

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

Preview Lab → · Contrast checker → · Palette generator →

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