#ABAC2E#ABAC2E

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

Color values

HEX#ABAC2E
RGBrgb(171, 172, 46)
HSLhsl(60, 58%, 43%)
HSVhsv(60, 73%, 67%)
CMYKcmyk(0.6%, 0%, 73.3%, 32.5%)
CIE-LABlab(68.29, -15.32, 60.52)
CIE-LCHlch(68.29, 62.42, 104.20°)
OKLaboklab(72.14% -0.0484 0.1335)
OKLCHoklch(72.14% 0.142 109.9)
XYZxyz(32.0414, 38.3612, 8.3008)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC2E #2F2EAC
analogous
#AC6E2E #ABAC2E #6CAC2E
triadic
#ABAC2E #2EABAC #AC2EAB
tetradic
#ABAC2E #2EAC6E #2F2EAC #AC2E6C
square
#ABAC2E #2EAC6E #2F2EAC #AC2E6C
split-complementary
#ABAC2E #2E6CAC #6E2EAC
monochromatic
#4B4B14 #7B7C21 #ABAC2E #CDCE49 #DADB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAC2E#FFFFFF#000000##000000
##ABAC2E1.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)
#BAA415
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#B7A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abac2e;
/* rgb */ color: rgb(171, 172, 46);
/* oklch */ color: oklch(72.1% 0.142 109.9);
Tailwind
colors: {
  custom: {
    50: '#c7c470',
    500: '#abac2e',
    950: '#000000',
  },
}
SCSS
$custom: #abac2e;
$custom-light: #c7c470;
$custom-dark: #000000;
JSON
{
  "hex": "#abac2e",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 60.476,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72135,
    "c": 0.14199,
    "h": 109.9
  },
  "luminance": 0.3836
}

Semantic roles & 50–950 ramp

primary
#ABAC2E
secondary
#7372C3
accent
#47E148
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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