#AB9128#AB9128

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

Color values

HEX#AB9128
RGBrgb(171, 145, 40)
HSLhsl(48, 62%, 41%)
HSVhsv(48, 77%, 67%)
CMYKcmyk(0%, 15.2%, 76.6%, 32.9%)
CIE-LABlab(60.84, -1.28, 55.62)
CIE-LCHlch(60.84, 55.64, 91.32°)
OKLaboklab(66.2% -0.0095 0.1219)
OKLCHoklch(66.2% 0.122 94.4)
XYZxyz(27.3045, 29.0635, 6.1787)
Luminance0.2906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9128 #2842AB
analogous
#AB5028 #AB9128 #84AB28
triadic
#AB9128 #28AB91 #9128AB
tetradic
#AB9128 #28AB50 #2842AB #AB2884
square
#AB9128 #28AB50 #2842AB #AB2884
split-complementary
#AB9128 #2884AB #5028AB
monochromatic
#483D11 #79671C #AB9128 #D2B53E #DEC870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9128#FFFFFF#000000##000000
##AB91281.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)
#A18E14
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#B9857D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab9128;
/* rgb */ color: rgb(171, 145, 40);
/* oklch */ color: oklch(66.2% 0.122 94.4);
Tailwind
colors: {
  custom: {
    50: '#c8b06a',
    500: '#ab9128',
    950: '#000000',
  },
}
SCSS
$custom: #ab9128;
$custom-light: #c8b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9128",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 48.092,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66202,
    "c": 0.1223,
    "h": 94.4
  },
  "luminance": 0.29062
}

Semantic roles & 50–950 ramp

primary
#AB9128
secondary
#6A7CC4
accent
#63E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB9128

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

Preview Lab → · Contrast checker → · Palette generator →

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