#AB9E28#AB9E28

#AB9E28 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.0% C 0.132 H 102.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AB9E28
RGBrgb(171, 158, 40)
HSLhsl(54, 62%, 41%)
HSVhsv(54, 77%, 67%)
CMYKcmyk(0%, 7.6%, 76.6%, 32.9%)
CIE-LABlab(64.38, -8.28, 58.92)
CIE-LCHlch(64.38, 59.50, 98.00°)
OKLaboklab(69.01% -0.0293 0.129)
OKLCHoklch(69.01% 0.132 102.8)
XYZxyz(29.4058, 33.2661, 6.8792)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E28 #2835AB
analogous
#AB5D28 #AB9E28 #77AB28
triadic
#AB9E28 #28AB9E #9E28AB
tetradic
#AB9E28 #28AB5D #2835AB #AB2877
square
#AB9E28 #28AB5D #2835AB #AB2877
split-complementary
#AB9E28 #2877AB #5D28AB
monochromatic
#484211 #79701C #AB9E28 #D2C33E #DED370

Accessibility & contrast

On white

2.74
#AB9E28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#AB9E28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E28
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E28#FFFFFF#000000##000000
##AB9E281.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990E
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#B89288
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e28;
/* rgb */ color: rgb(171, 158, 40);
/* oklch */ color: oklch(69.0% 0.132 102.8);
Tailwind
colors: {
  custom: {
    50: '#c8ba6c',
    500: '#ab9e28',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e28;
$custom-light: #c8ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e28",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 54.046,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69007,
    "c": 0.13224,
    "h": 102.8
  },
  "luminance": 0.33265
}

Semantic roles & 50–950 ramp

primary
#AB9E28
secondary
#6A73C4
accent
#53E543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9E28

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

Preview Lab → · Contrast checker → · Palette generator →

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