#ABA95C#ABA95C

#ABA95C is a light, moderate yellow. Relative luminance 0.378; OKLCH L 71.9% C 0.100 H 107.3°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#ABA95C
RGBrgb(171, 169, 92)
HSLhsl(58, 32%, 52%)
HSVhsv(58, 46%, 67%)
CMYKcmyk(0%, 1.2%, 46.2%, 32.9%)
CIE-LABlab(67.88, -10.43, 39.77)
CIE-LCHlch(67.88, 41.12, 104.69°)
OKLaboklab(71.95% -0.0297 0.0952)
OKLCHoklch(71.95% 0.1 107.3)
XYZxyz(32.9150, 37.8074, 15.6868)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA95C #5C5EAB
analogous
#AB825C #ABA95C #86AB5C
triadic
#ABA95C #5CABA9 #A95CAB
tetradic
#ABA95C #5CAB82 #5C5EAB #AB5C86
square
#ABA95C #5CAB82 #5C5EAB #AB5C86
split-complementary
#ABA95C #5C86AB #825CAB
monochromatic
#5D5C30 #858445 #ABA95C #C0BE84 #D5D4AD

Accessibility & contrast

On white

2.45
#ABA95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#ABA95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA95C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA95C#FFFFFF#000000##000000
##ABA95C1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A455
Deuteranopia (green-blind)
#B6A760
Tritanopia (blue-blind)
#B5A097
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba95c;
/* rgb */ color: rgb(171, 169, 92);
/* oklch */ color: oklch(71.9% 0.100 107.3);
Tailwind
colors: {
  custom: {
    50: '#c5c28c',
    500: '#aba95c',
    950: '#000000',
  },
}
SCSS
$custom: #aba95c;
$custom-light: #c5c28c;
$custom-dark: #000000;
JSON
{
  "hex": "#aba95c",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 92
  },
  "hsl": {
    "h": 58.481,
    "s": 31.984,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71946,
    "c": 0.09969,
    "h": 107.3
  },
  "luminance": 0.37807
}

Semantic roles & 50–950 ramp

primary
#ABA95C
secondary
#A0A1C3
accent
#62C860
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA95C

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

Preview Lab → · Contrast checker → · Palette generator →

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