#ABAB4E#ABAB4E

#ABAB4E is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.2% C 0.116 H 109.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#ABAB4E
RGBrgb(171, 171, 78)
HSLhsl(60, 37%, 49%)
HSVhsv(60, 54%, 67%)
CMYKcmyk(0%, 0%, 54.4%, 32.9%)
CIE-LABlab(68.27, -12.74, 47.11)
CIE-LCHlch(68.27, 48.80, 105.14°)
OKLaboklab(72.2% -0.0378 0.1099)
OKLCHoklch(72.2% 0.116 109)
XYZxyz(32.7335, 38.3346, 12.8813)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAB4E #4E4EAB
analogous
#AB7D4E #ABAB4E #7DAB4E
triadic
#ABAB4E #4EABAB #AB4EAB
tetradic
#ABAB4E #4EAB7D #4E4EAB #AB4E7D
square
#ABAB4E #4EAB7D #4E4EAB #AB4E7D
split-complementary
#ABAB4E #4E7DAB #7D4EAB
monochromatic
#575728 #81813B #ABAB4E #C0C076 #D4D4A0

Accessibility & contrast

On white

2.42
#ABAB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#ABAB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAB4E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAB4E#FFFFFF#000000##000000
##ABAB4E1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A545
Deuteranopia (green-blind)
#B9A853
Tritanopia (blue-blind)
#B6A196
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abab4e;
/* rgb */ color: rgb(171, 171, 78);
/* oklch */ color: oklch(72.2% 0.116 109.0);
Tailwind
colors: {
  custom: {
    50: '#c6c383',
    500: '#abab4e',
    950: '#000000',
  },
}
SCSS
$custom: #abab4e;
$custom-light: #c6c383;
$custom-dark: #000000;
JSON
{
  "hex": "#abab4e",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 60,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72202,
    "c": 0.11618,
    "h": 109
  },
  "luminance": 0.38334
}

Semantic roles & 50–950 ramp

primary
#ABAB4E
secondary
#9494C1
accent
#5ACD5A
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABAB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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