#ABA545#ABA545

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

Color values

HEX#ABA545
RGBrgb(171, 165, 69)
HSLhsl(56, 43%, 47%)
HSVhsv(56, 60%, 67%)
CMYKcmyk(0%, 3.5%, 59.6%, 32.9%)
CIE-LABlab(66.52, -10.31, 49.33)
CIE-LCHlch(66.52, 50.40, 101.81°)
OKLaboklab(70.78% -0.0319 0.1135)
OKLCHoklch(70.78% 0.118 105.7)
XYZxyz(31.3249, 35.9989, 10.9275)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA545 #454BAB
analogous
#AB7245 #ABA545 #7EAB45
triadic
#ABA545 #45ABA5 #A545AB
tetradic
#ABA545 #45AB72 #454BAB #AB457E
square
#ABA545 #45AB72 #454BAB #AB457E
split-complementary
#ABA545 #457EAB #7245AB
monochromatic
#545122 #7F7B33 #ABA545 #C3BE6A #D5D196

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA545#FFFFFF#000000##000000
##ABA5451.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)
#B29F3A
Deuteranopia (green-blind)
#B5A44A
Tritanopia (blue-blind)
#B79B90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba545;
/* rgb */ color: rgb(171, 165, 69);
/* oklch */ color: oklch(70.8% 0.118 105.7);
Tailwind
colors: {
  custom: {
    50: '#c6bf7c',
    500: '#aba545',
    950: '#000000',
  },
}
SCSS
$custom: #aba545;
$custom-light: #c6bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aba545",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 56.471,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70781,
    "c": 0.11792,
    "h": 105.7
  },
  "luminance": 0.35998
}

Semantic roles & 50–950 ramp

primary
#ABA545
secondary
#8B8FC0
accent
#5DD256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA545

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

Preview Lab → · Contrast checker → · Palette generator →

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