#ABAC4E#ABAC4E

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

Color values

HEX#ABAC4E
RGBrgb(171, 172, 78)
HSLhsl(61, 38%, 49%)
HSVhsv(61, 55%, 67%)
CMYKcmyk(0.6%, 0%, 54.7%, 32.5%)
CIE-LABlab(68.54, -13.26, 47.42)
CIE-LCHlch(68.54, 49.24, 105.62°)
OKLaboklab(72.42% -0.0393 0.1105)
OKLCHoklch(72.42% 0.117 109.6)
XYZxyz(32.9231, 38.7138, 12.9445)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC4E #4F4EAC
analogous
#AC7E4E #ABAC4E #7CAC4E
triadic
#ABAC4E #4EABAC #AC4EAB
tetradic
#ABAC4E #4EAC7E #4F4EAC #AC4E7C
square
#ABAC4E #4EAC7E #4F4EAC #AC4E7C
split-complementary
#ABAC4E #4E7CAC #7E4EAC
monochromatic
#575828 #81823B #ABAC4E #C0C176 #D4D4A0

Accessibility & contrast

On white

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

On black

8.74
#ABAC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC4E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC4E#FFFFFF#000000##000000
##ABAC4E1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abac4e;
/* rgb */ color: rgb(171, 172, 78);
/* oklch */ color: oklch(72.4% 0.117 109.6);
Tailwind
colors: {
  custom: {
    50: '#c6c483',
    500: '#abac4e',
    950: '#000000',
  },
}
SCSS
$custom: #abac4e;
$custom-light: #c6c483;
$custom-dark: #000000;
JSON
{
  "hex": "#abac4e",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 60.638,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72423,
    "c": 0.11731,
    "h": 109.6
  },
  "luminance": 0.38713
}

Semantic roles & 50–950 ramp

primary
#ABAC4E
secondary
#9595C1
accent
#5ACE5B
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABAC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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