#ABAC36#ABAC36

#ABAC36 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.2% C 0.137 H 109.9°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#ABAC36
RGBrgb(171, 172, 54)
HSLhsl(61, 52%, 44%)
HSVhsv(61, 69%, 67%)
CMYKcmyk(0.6%, 0%, 68.6%, 32.5%)
CIE-LABlab(68.34, -14.91, 57.61)
CIE-LCHlch(68.34, 59.51, 104.51°)
OKLaboklab(72.19% -0.0465 0.1288)
OKLCHoklch(72.19% 0.137 109.9)
XYZxyz(32.2140, 38.4302, 9.2102)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC36 #3736AC
analogous
#AC7236 #ABAC36 #70AC36
triadic
#ABAC36 #36ABAC #AC36AB
tetradic
#ABAC36 #36AC72 #3736AC #AC3670
square
#ABAC36 #36AC72 #3736AC #AC3670
split-complementary
#ABAC36 #3670AC #7236AC
monochromatic
#4E4F19 #7D7D27 #ABAC36 #C9CA55 #D8D884

Accessibility & contrast

On white

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

On black

8.69
#ABAC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC36
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC36#FFFFFF#000000##000000
##ABAC361.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA524
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#B7A195
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac36;
/* rgb */ color: rgb(171, 172, 54);
/* oklch */ color: oklch(72.2% 0.137 109.9);
Tailwind
colors: {
  custom: {
    50: '#c7c474',
    500: '#abac36',
    950: '#000000',
  },
}
SCSS
$custom: #abac36;
$custom-light: #c7c474;
$custom-dark: #000000;
JSON
{
  "hex": "#abac36",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 54
  },
  "hsl": {
    "h": 60.508,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72191,
    "c": 0.1369,
    "h": 109.9
  },
  "luminance": 0.38429
}

Semantic roles & 50–950 ramp

primary
#ABAC36
secondary
#7C7CC2
accent
#4CDC4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABAC36

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

Preview Lab → · Contrast checker → · Palette generator →

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