#ABA028#ABA028

#ABA028 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.134 H 103.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#ABA028
RGBrgb(171, 160, 40)
HSLhsl(55, 62%, 41%)
HSVhsv(55, 77%, 67%)
CMYKcmyk(0%, 6.4%, 76.6%, 32.9%)
CIE-LABlab(64.93, -9.34, 59.43)
CIE-LCHlch(64.93, 60.16, 98.93°)
OKLaboklab(69.45% -0.0322 0.13)
OKLCHoklch(69.45% 0.134 103.9)
XYZxyz(29.7497, 33.9540, 6.9938)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA028 #2833AB
analogous
#AB5F28 #ABA028 #75AB28
triadic
#ABA028 #28ABA0 #A028AB
tetradic
#ABA028 #28AB5F #2833AB #AB2875
square
#ABA028 #28AB5F #2833AB #AB2875
split-complementary
#ABA028 #2875AB #5F28AB
monochromatic
#484311 #79721C #ABA028 #D2C63E #DED470

Accessibility & contrast

On white

2.70
#ABA028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#ABA028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA028
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA028#FFFFFF#000000##000000
##ABA0281.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A0C
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#B89589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aba028;
/* rgb */ color: rgb(171, 160, 40);
/* oklch */ color: oklch(69.4% 0.134 103.9);
Tailwind
colors: {
  custom: {
    50: '#c8bb6c',
    500: '#aba028',
    950: '#000000',
  },
}
SCSS
$custom: #aba028;
$custom-light: #c8bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aba028",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 54.962,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69445,
    "c": 0.13398,
    "h": 103.9
  },
  "luminance": 0.33953
}

Semantic roles & 50–950 ramp

primary
#ABA028
secondary
#6A72C4
accent
#50E543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #ABA028

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

Preview Lab → · Contrast checker → · Palette generator →

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