#ABA02B#ABA02B

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

Color values

HEX#ABA02B
RGBrgb(171, 160, 43)
HSLhsl(55, 60%, 42%)
HSVhsv(55, 75%, 67%)
CMYKcmyk(0%, 6.4%, 74.9%, 32.9%)
CIE-LABlab(64.94, -9.21, 58.41)
CIE-LCHlch(64.94, 59.13, 98.96°)
OKLaboklab(69.46% -0.0316 0.1284)
OKLCHoklch(69.46% 0.132 103.8)
XYZxyz(29.8027, 33.9752, 7.2731)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA02B #2B36AB
analogous
#AB602B #ABA02B #76AB2B
triadic
#ABA02B #2BABA0 #A02BAB
tetradic
#ABA02B #2BAB60 #2B36AB #AB2B76
square
#ABA02B #2BAB60 #2B36AB #AB2B76
split-complementary
#ABA02B #2B76AB #602BAB
monochromatic
#494412 #7A721F #ABA02B #D0C443 #DCD374

Accessibility & contrast

On white

2.69
#ABA02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA02B#FFFFFF#000000##000000
##ABA02B1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A14
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#B8958A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba02b;
/* rgb */ color: rgb(171, 160, 43);
/* oklch */ color: oklch(69.5% 0.132 103.8);
Tailwind
colors: {
  custom: {
    50: '#c8bb6d',
    500: '#aba02b',
    950: '#000000',
  },
}
SCSS
$custom: #aba02b;
$custom-light: #c8bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba02b",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 54.844,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69463,
    "c": 0.13227,
    "h": 103.8
  },
  "luminance": 0.33974
}

Semantic roles & 50–950 ramp

primary
#ABA02B
secondary
#6E75C4
accent
#52E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #ABA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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