#ABAC4B#ABAC4B

#ABAC4B is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.4% C 0.120 H 109.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#ABAC4B
RGBrgb(171, 172, 75)
HSLhsl(61, 39%, 48%)
HSVhsv(61, 56%, 67%)
CMYKcmyk(0.6%, 0%, 56.4%, 32.5%)
CIE-LABlab(68.51, -13.51, 48.79)
CIE-LCHlch(68.51, 50.63, 105.47°)
OKLaboklab(72.39% -0.0403 0.1131)
OKLCHoklch(72.39% 0.12 109.6)
XYZxyz(32.8180, 38.6718, 12.3909)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC4B #4C4BAC
analogous
#AC7C4B #ABAC4B #7AAC4B
triadic
#ABAC4B #4BABAC #AC4BAB
tetradic
#ABAC4B #4BAC7C #4C4BAC #AC4B7A
square
#ABAC4B #4BAC7C #4C4BAC #AC4B7A
split-complementary
#ABAC4B #4B7AAC #7C4BAC
monochromatic
#565726 #818138 #ABAC4B #C1C272 #D4D49D

Accessibility & contrast

On white

2.40
#ABAC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#ABAC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC4B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC4B#FFFFFF#000000##000000
##ABAC4B1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A541
Deuteranopia (green-blind)
#BAA950
Tritanopia (blue-blind)
#B6A297
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac4b;
/* rgb */ color: rgb(171, 172, 75);
/* oklch */ color: oklch(72.4% 0.120 109.6);
Tailwind
colors: {
  custom: {
    50: '#c6c481',
    500: '#abac4b',
    950: '#000000',
  },
}
SCSS
$custom: #abac4b;
$custom-light: #c6c481;
$custom-dark: #000000;
JSON
{
  "hex": "#abac4b",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 75
  },
  "hsl": {
    "h": 60.619,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72388,
    "c": 0.12009,
    "h": 109.6
  },
  "luminance": 0.38671
}

Semantic roles & 50–950 ramp

primary
#ABAC4B
secondary
#9292C1
accent
#59CF5A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABAC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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