#ABAB36#ABAB36

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

Color values

HEX#ABAB36
RGBrgb(171, 171, 54)
HSLhsl(60, 52%, 44%)
HSVhsv(60, 68%, 67%)
CMYKcmyk(0%, 0%, 68.4%, 32.9%)
CIE-LABlab(68.06, -14.40, 57.33)
CIE-LCHlch(68.06, 59.11, 104.09°)
OKLaboklab(71.97% -0.0451 0.1282)
OKLCHoklch(71.97% 0.136 109.4)
XYZxyz(32.0244, 38.0510, 9.1470)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAB36 #3636AB
analogous
#AB7136 #ABAB36 #71AB36
triadic
#ABAB36 #36ABAB #AB36AB
tetradic
#ABAB36 #36AB71 #3636AB #AB3671
square
#ABAB36 #36AB71 #3636AB #AB3671
split-complementary
#ABAB36 #3671AB #7136AB
monochromatic
#4E4E19 #7C7C27 #ABAB36 #C9C955 #D8D883

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAB36#FFFFFF#000000##000000
##ABAB361.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)
#B9A424
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#B7A094
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abab36;
/* rgb */ color: rgb(171, 171, 54);
/* oklch */ color: oklch(72.0% 0.136 109.4);
Tailwind
colors: {
  custom: {
    50: '#c7c374',
    500: '#abab36',
    950: '#000000',
  },
}
SCSS
$custom: #abab36;
$custom-light: #c7c374;
$custom-dark: #000000;
JSON
{
  "hex": "#abab36",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71969,
    "c": 0.13586,
    "h": 109.4
  },
  "luminance": 0.3805
}

Semantic roles & 50–950 ramp

primary
#ABAB36
secondary
#7B7BC2
accent
#4CDB4C
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABAB36

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

Preview Lab → · Contrast checker → · Palette generator →

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