#ABA540#ABA540

#ABA540 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.122 H 105.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#ABA540
RGBrgb(171, 165, 64)
HSLhsl(57, 46%, 46%)
HSVhsv(57, 63%, 67%)
CMYKcmyk(0%, 3.5%, 62.6%, 32.9%)
CIE-LABlab(66.47, -10.66, 51.53)
CIE-LCHlch(66.47, 52.62, 101.69°)
OKLaboklab(70.73% -0.0335 0.1175)
OKLCHoklch(70.73% 0.122 105.9)
XYZxyz(31.1762, 35.9394, 10.1443)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA540 #4046AB
analogous
#AB6F40 #ABA540 #7BAB40
triadic
#ABA540 #40ABA5 #A540AB
tetradic
#ABA540 #40AB6F #4046AB #AB407B
square
#ABA540 #40AB6F #4046AB #AB407B
split-complementary
#ABA540 #407BAB #6F40AB
monochromatic
#524F1F #7E7A2F #ABA540 #C5BF63 #D5D290

Accessibility & contrast

On white

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

On black

8.19
#ABA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA540
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA540#FFFFFF#000000##000000
##ABA5401.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#B79B90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba540;
/* rgb */ color: rgb(171, 165, 64);
/* oklch */ color: oklch(70.7% 0.122 105.9);
Tailwind
colors: {
  custom: {
    50: '#c7bf79',
    500: '#aba540',
    950: '#000000',
  },
}
SCSS
$custom: #aba540;
$custom-light: #c7bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#aba540",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 56.636,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7073,
    "c": 0.12217,
    "h": 105.9
  },
  "luminance": 0.35938
}

Semantic roles & 50–950 ramp

primary
#ABA540
secondary
#8689C1
accent
#5AD553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA540

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

Preview Lab → · Contrast checker → · Palette generator →

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