#AB9628#AB9628

#AB9628 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.3% C 0.126 H 97.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AB9628
RGBrgb(171, 150, 40)
HSLhsl(50, 62%, 41%)
HSVhsv(50, 77%, 67%)
CMYKcmyk(0%, 12.3%, 76.6%, 32.9%)
CIE-LABlab(62.19, -4.00, 56.89)
CIE-LCHlch(62.19, 57.03, 94.02°)
OKLaboklab(67.27% -0.0172 0.1246)
OKLCHoklch(67.27% 0.126 97.8)
XYZxyz(28.0854, 30.6253, 6.4390)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9628 #283DAB
analogous
#AB5528 #AB9628 #7FAB28
triadic
#AB9628 #28AB96 #9628AB
tetradic
#AB9628 #28AB55 #283DAB #AB287F
square
#AB9628 #28AB55 #283DAB #AB287F
split-complementary
#AB9628 #287FAB #5528AB
monochromatic
#483F11 #796A1C #AB9628 #D2BA3E #DECC70

Accessibility & contrast

On white

2.95
#AB9628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AB9628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9628
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9628#FFFFFF#000000##000000
##AB96281.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab9628;
/* rgb */ color: rgb(171, 150, 40);
/* oklch */ color: oklch(67.3% 0.126 97.8);
Tailwind
colors: {
  custom: {
    50: '#c8b46b',
    500: '#ab9628',
    950: '#000000',
  },
}
SCSS
$custom: #ab9628;
$custom-light: #c8b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9628",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 50.382,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67272,
    "c": 0.12581,
    "h": 97.8
  },
  "luminance": 0.30624
}

Semantic roles & 50–950 ramp

primary
#AB9628
secondary
#6A79C4
accent
#5DE543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9628

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

Preview Lab → · Contrast checker → · Palette generator →

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