#AB9426#AB9426

#AB9426 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.8% C 0.125 H 96.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AB9426
RGBrgb(171, 148, 38)
HSLhsl(50, 64%, 41%)
HSVhsv(50, 78%, 67%)
CMYKcmyk(0%, 13.5%, 77.8%, 32.9%)
CIE-LABlab(61.64, -3.00, 57.08)
CIE-LCHlch(61.64, 57.16, 93.00°)
OKLaboklab(66.83% -0.0145 0.1246)
OKLCHoklch(66.83% 0.125 96.7)
XYZxyz(27.7358, 29.9792, 6.1590)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9426 #263DAB
analogous
#AB5126 #AB9426 #7FAB26
triadic
#AB9426 #26AB94 #9426AB
tetradic
#AB9426 #26AB51 #263DAB #AB267F
square
#AB9426 #26AB51 #263DAB #AB267F
split-complementary
#AB9426 #267FAB #5126AB
monochromatic
#473D10 #79691B #AB9426 #D3B93B #DFCB6D

Accessibility & contrast

On white

3.00
#AB9426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#AB9426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9426
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9426#FFFFFF#000000##000000
##AB94261.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910E
Deuteranopia (green-blind)
#AA982D
Tritanopia (blue-blind)
#B9887F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab9426;
/* rgb */ color: rgb(171, 148, 38);
/* oklch */ color: oklch(66.8% 0.125 96.7);
Tailwind
colors: {
  custom: {
    50: '#c8b36a',
    500: '#ab9426',
    950: '#000000',
  },
}
SCSS
$custom: #ab9426;
$custom-light: #c8b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9426",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 38
  },
  "hsl": {
    "h": 49.624,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6683,
    "c": 0.12548,
    "h": 96.7
  },
  "luminance": 0.29978
}

Semantic roles & 50–950 ramp

primary
#AB9426
secondary
#6878C5
accent
#5EE741
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB9426

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

Preview Lab → · Contrast checker → · Palette generator →

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