#ABAC3D#ABAC3D

#ABAC3D is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.2% C 0.132 H 109.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#ABAC3D
RGBrgb(171, 172, 61)
HSLhsl(61, 48%, 46%)
HSVhsv(61, 65%, 67%)
CMYKcmyk(0.6%, 0%, 64.5%, 32.5%)
CIE-LABlab(68.39, -14.50, 54.84)
CIE-LCHlch(68.39, 56.73, 104.81°)
OKLaboklab(72.25% -0.0446 0.1241)
OKLCHoklch(72.25% 0.132 109.8)
XYZxyz(32.3904, 38.5008, 10.1391)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC3D #3E3DAC
analogous
#AC763D #ABAC3D #73AC3D
triadic
#ABAC3D #3DABAC #AC3DAB
tetradic
#ABAC3D #3DAC76 #3E3DAC #AC3D73
square
#ABAC3D #3DAC76 #3E3DAC #AC3D73
split-complementary
#ABAC3D #3D73AC #763DAC
monochromatic
#51521D #7E7F2D #ABAC3D #C6C760 #D6D78D

Accessibility & contrast

On white

2.41
#ABAC3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#ABAC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC3D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC3D#FFFFFF#000000##000000
##ABAC3D1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A52E
Deuteranopia (green-blind)
#BBA844
Tritanopia (blue-blind)
#B7A295
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac3d;
/* rgb */ color: rgb(171, 172, 61);
/* oklch */ color: oklch(72.2% 0.132 109.8);
Tailwind
colors: {
  custom: {
    50: '#c7c478',
    500: '#abac3d',
    950: '#000000',
  },
}
SCSS
$custom: #abac3d;
$custom-light: #c7c478;
$custom-dark: #000000;
JSON
{
  "hex": "#abac3d",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 60.541,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72249,
    "c": 0.13183,
    "h": 109.8
  },
  "luminance": 0.385
}

Semantic roles & 50–950 ramp

primary
#ABAC3D
secondary
#8484C1
accent
#51D752
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABAC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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