#ABAB34#ABAB34

#ABAB34 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.0% C 0.137 H 109.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#ABAB34
RGBrgb(171, 171, 52)
HSLhsl(60, 53%, 44%)
HSVhsv(60, 70%, 67%)
CMYKcmyk(0%, 0%, 69.6%, 32.9%)
CIE-LABlab(68.04, -14.50, 58.09)
CIE-LCHlch(68.04, 59.88, 104.02°)
OKLaboklab(71.95% -0.0456 0.1294)
OKLCHoklch(71.95% 0.137 109.4)
XYZxyz(31.9784, 38.0326, 8.9047)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAB34 #3434AB
analogous
#AB6F34 #ABAB34 #6FAB34
triadic
#ABAB34 #34ABAB #AB34AB
tetradic
#ABAB34 #34AB6F #3434AB #AB346F
square
#ABAB34 #34AB6F #3434AB #AB346F
split-complementary
#ABAB34 #346FAB #6F34AB
monochromatic
#4D4D17 #7C7C26 #ABAB34 #CACA52 #D9D981

Accessibility & contrast

On white

2.44
#ABAB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#ABAB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAB34
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAB34#FFFFFF#000000##000000
##ABAB341.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A421
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#B7A093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abab34;
/* rgb */ color: rgb(171, 171, 52);
/* oklch */ color: oklch(72.0% 0.137 109.4);
Tailwind
colors: {
  custom: {
    50: '#c7c373',
    500: '#abab34',
    950: '#000000',
  },
}
SCSS
$custom: #abab34;
$custom-light: #c7c373;
$custom-dark: #000000;
JSON
{
  "hex": "#abab34",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 60,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71954,
    "c": 0.13721,
    "h": 109.4
  },
  "luminance": 0.38032
}

Semantic roles & 50–950 ramp

primary
#ABAB34
secondary
#7979C2
accent
#4BDD4B
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABAB34

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

Preview Lab → · Contrast checker → · Palette generator →

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