#ABAE2B#ABAE2B

#ABAE2B is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.6% C 0.146 H 110.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#ABAE2B
RGBrgb(171, 174, 43)
HSLhsl(61, 60%, 43%)
HSVhsv(61, 75%, 68%)
CMYKcmyk(1.7%, 0%, 75.3%, 31.8%)
CIE-LABlab(68.83, -16.47, 62.04)
CIE-LCHlch(68.83, 64.19, 104.87°)
OKLaboklab(72.56% -0.0519 0.1362)
OKLCHoklch(72.56% 0.146 110.9)
XYZxyz(32.3678, 39.1053, 8.1281)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAE2B #2E2BAE
analogous
#AE6F2B #ABAE2B #6AAE2B
triadic
#ABAE2B #2BABAE #AE2BAB
tetradic
#ABAE2B #2BAE6F #2E2BAE #AE2B6A
square
#ABAE2B #2BAE6F #2E2BAE #AE2B6A
split-complementary
#ABAE2B #2B6AAE #6F2BAE
monochromatic
#4B4C13 #7B7D1F #ABAE2B #CED145 #DBDD76

Accessibility & contrast

On white

2.38
#ABAE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#ABAE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAE2B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAE2B#FFFFFF#000000##000000
##ABAE2B1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA60B
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#B7A395
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #abae2b;
/* rgb */ color: rgb(171, 174, 43);
/* oklch */ color: oklch(72.6% 0.146 110.9);
Tailwind
colors: {
  custom: {
    50: '#c8c56f',
    500: '#abae2b',
    950: '#000000',
  },
}
SCSS
$custom: #abae2b;
$custom-light: #c8c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#abae2b",
  "rgb": {
    "r": 171,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 61.374,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72562,
    "c": 0.14573,
    "h": 110.9
  },
  "luminance": 0.39104
}

Semantic roles & 50–950 ramp

primary
#ABAE2B
secondary
#7270C5
accent
#44E448
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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