#ABAB3D#ABAB3D

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

Color values

HEX#ABAB3D
RGBrgb(171, 171, 61)
HSLhsl(60, 47%, 45%)
HSVhsv(60, 64%, 67%)
CMYKcmyk(0%, 0%, 64.3%, 32.9%)
CIE-LABlab(68.11, -13.98, 54.55)
CIE-LCHlch(68.11, 56.32, 104.38°)
OKLaboklab(72.03% -0.0432 0.1234)
OKLCHoklch(72.03% 0.131 109.3)
XYZxyz(32.2008, 38.1216, 10.0759)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAB3D #3D3DAB
analogous
#AB743D #ABAB3D #74AB3D
triadic
#ABAB3D #3DABAB #AB3DAB
tetradic
#ABAB3D #3DAB74 #3D3DAB #AB3D74
square
#ABAB3D #3DAB74 #3D3DAB #AB3D74
split-complementary
#ABAB3D #3D74AB #743DAB
monochromatic
#51511D #7E7E2D #ABAB3D #C6C65F #D6D68C

Accessibility & contrast

On white

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

On black

8.62
#ABAB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAB3D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAB3D#FFFFFF#000000##000000
##ABAB3D1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42F
Deuteranopia (green-blind)
#BAA844
Tritanopia (blue-blind)
#B7A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abab3d;
/* rgb */ color: rgb(171, 171, 61);
/* oklch */ color: oklch(72.0% 0.131 109.3);
Tailwind
colors: {
  custom: {
    50: '#c7c378',
    500: '#abab3d',
    950: '#000000',
  },
}
SCSS
$custom: #abab3d;
$custom-light: #c7c378;
$custom-dark: #000000;
JSON
{
  "hex": "#abab3d",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72027,
    "c": 0.13077,
    "h": 109.3
  },
  "luminance": 0.38121
}

Semantic roles & 50–950 ramp

primary
#ABAB3D
secondary
#8383C1
accent
#51D751
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABAB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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