#ABA328#ABA328

#ABA328 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.1% C 0.137 H 105.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#ABA328
RGBrgb(171, 163, 40)
HSLhsl(56, 62%, 41%)
HSVhsv(56, 77%, 67%)
CMYKcmyk(0%, 4.7%, 76.6%, 32.9%)
CIE-LABlab(65.75, -10.91, 60.19)
CIE-LCHlch(65.75, 61.18, 100.28°)
OKLaboklab(70.1% -0.0367 0.1317)
OKLCHoklch(70.1% 0.137 105.6)
XYZxyz(30.2761, 35.0067, 7.1692)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA328 #2830AB
analogous
#AB6228 #ABA328 #72AB28
triadic
#ABA328 #28ABA3 #A328AB
tetradic
#ABA328 #28AB62 #2830AB #AB2872
square
#ABA328 #28AB62 #2830AB #AB2872
split-complementary
#ABA328 #2872AB #6228AB
monochromatic
#484411 #79741C #ABA328 #D2C93E #DED770

Accessibility & contrast

On white

2.62
#ABA328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#ABA328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA328
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA328#FFFFFF#000000##000000
##ABA3281.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0A
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#B8988C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba328;
/* rgb */ color: rgb(171, 163, 40);
/* oklch */ color: oklch(70.1% 0.137 105.6);
Tailwind
colors: {
  custom: {
    50: '#c8bd6c',
    500: '#aba328',
    950: '#000000',
  },
}
SCSS
$custom: #aba328;
$custom-light: #c8bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aba328",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 56.336,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70104,
    "c": 0.13668,
    "h": 105.6
  },
  "luminance": 0.35006
}

Semantic roles & 50–950 ramp

primary
#ABA328
secondary
#6A70C4
accent
#4DE543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ABA328

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

Preview Lab → · Contrast checker → · Palette generator →

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