#ABA45C#ABA45C

#ABA45C is a light, moderate yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.094 H 103.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#ABA45C
RGBrgb(171, 164, 92)
HSLhsl(55, 32%, 52%)
HSVhsv(55, 46%, 67%)
CMYKcmyk(0%, 4.1%, 46.2%, 32.9%)
CIE-LABlab(66.51, -7.79, 38.09)
CIE-LCHlch(66.51, 38.88, 101.55°)
OKLaboklab(70.86% -0.0221 0.0914)
OKLCHoklch(70.86% 0.094 103.6)
XYZxyz(32.0026, 35.9825, 15.3827)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA45C #5C63AB
analogous
#AB7D5C #ABA45C #8BAB5C
triadic
#ABA45C #5CABA4 #A45CAB
tetradic
#ABA45C #5CAB7D #5C63AB #AB5C8B
square
#ABA45C #5CAB7D #5C63AB #AB5C8B
split-complementary
#ABA45C #5C8BAB #7D5CAB
monochromatic
#5D5930 #857F45 #ABA45C #C0BB84 #D5D1AD

Accessibility & contrast

On white

2.56
#ABA45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#ABA45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA45C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA45C#FFFFFF#000000##000000
##ABA45C1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA056
Deuteranopia (green-blind)
#B2A45F
Tritanopia (blue-blind)
#B59B93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba45c;
/* rgb */ color: rgb(171, 164, 92);
/* oklch */ color: oklch(70.9% 0.094 103.6);
Tailwind
colors: {
  custom: {
    50: '#c5be8b',
    500: '#aba45c',
    950: '#000000',
  },
}
SCSS
$custom: #aba45c;
$custom-light: #c5be8b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba45c",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 92
  },
  "hsl": {
    "h": 54.684,
    "s": 31.984,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70856,
    "c": 0.09407,
    "h": 103.6
  },
  "luminance": 0.35982
}

Semantic roles & 50–950 ramp

primary
#ABA45C
secondary
#A0A3C3
accent
#69C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA45C

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

Preview Lab → · Contrast checker → · Palette generator →

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