#ABA33B#ABA33B

#ABA33B is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.124 H 104.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#ABA33B
RGBrgb(171, 163, 59)
HSLhsl(56, 49%, 45%)
HSVhsv(56, 65%, 67%)
CMYKcmyk(0%, 4.7%, 65.5%, 32.9%)
CIE-LABlab(65.88, -9.94, 53.07)
CIE-LCHlch(65.88, 53.99, 100.61°)
OKLaboklab(70.25% -0.032 0.12)
OKLCHoklch(70.25% 0.124 104.9)
XYZxyz(30.6823, 35.1692, 9.3089)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA33B #3B43AB
analogous
#AB6B3B #ABA33B #7BAB3B
triadic
#ABA33B #3BABA3 #A33BAB
tetradic
#ABA33B #3BAB6B #3B43AB #AB3B7B
square
#ABA33B #3BAB6B #3B43AB #AB3B7B
split-complementary
#ABA33B #3B7BAB #6B3BAB
monochromatic
#504C1C #7D782B #ABA33B #C7BF5C #D7D18A

Accessibility & contrast

On white

2.61
#ABA33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#ABA33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA33B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA33B#FFFFFF#000000##000000
##ABA33B1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D2E
Deuteranopia (green-blind)
#B4A241
Tritanopia (blue-blind)
#B7988E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba33b;
/* rgb */ color: rgb(171, 163, 59);
/* oklch */ color: oklch(70.2% 0.124 104.9);
Tailwind
colors: {
  custom: {
    50: '#c7be76',
    500: '#aba33b',
    950: '#000000',
  },
}
SCSS
$custom: #aba33b;
$custom-light: #c7be76;
$custom-dark: #000000;
JSON
{
  "hex": "#aba33b",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 59
  },
  "hsl": {
    "h": 55.714,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70245,
    "c": 0.12416,
    "h": 104.9
  },
  "luminance": 0.35168
}

Semantic roles & 50–950 ramp

primary
#ABA33B
secondary
#8185C1
accent
#59D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA33B

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

Preview Lab → · Contrast checker → · Palette generator →

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