#AB9428#AB9428

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

Color values

HEX#AB9428
RGBrgb(171, 148, 40)
HSLhsl(49, 62%, 41%)
HSVhsv(49, 77%, 67%)
CMYKcmyk(0%, 13.5%, 76.6%, 32.9%)
CIE-LABlab(61.65, -2.91, 56.38)
CIE-LCHlch(61.65, 56.46, 92.96°)
OKLaboklab(66.84% -0.0141 0.1236)
OKLCHoklch(66.84% 0.124 96.5)
XYZxyz(27.7690, 29.9924, 6.3335)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9428 #283FAB
analogous
#AB5328 #AB9428 #81AB28
triadic
#AB9428 #28AB94 #9428AB
tetradic
#AB9428 #28AB53 #283FAB #AB2881
square
#AB9428 #28AB53 #283FAB #AB2881
split-complementary
#AB9428 #2881AB #5328AB
monochromatic
#483E11 #79691C #AB9428 #D2B83E #DECA70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9428#FFFFFF#000000##000000
##AB94281.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)
#A49113
Deuteranopia (green-blind)
#AA982F
Tritanopia (blue-blind)
#B9887F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab9428;
/* rgb */ color: rgb(171, 148, 40);
/* oklch */ color: oklch(66.8% 0.124 96.5);
Tailwind
colors: {
  custom: {
    50: '#c8b36a',
    500: '#ab9428',
    950: '#000000',
  },
}
SCSS
$custom: #ab9428;
$custom-light: #c8b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9428",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 40
  },
  "hsl": {
    "h": 49.466,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66843,
    "c": 0.12435,
    "h": 96.5
  },
  "luminance": 0.29991
}

Semantic roles & 50–950 ramp

primary
#AB9428
secondary
#6A7AC4
accent
#5FE543
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB9428

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

Preview Lab → · Contrast checker → · Palette generator →

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