#ABA645#ABA645

#ABA645 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.0% C 0.119 H 106.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#ABA645
RGBrgb(171, 166, 69)
HSLhsl(57, 43%, 47%)
HSVhsv(57, 60%, 67%)
CMYKcmyk(0%, 2.9%, 59.6%, 32.9%)
CIE-LABlab(66.79, -10.84, 49.64)
CIE-LCHlch(66.79, 50.81, 102.32°)
OKLaboklab(71% -0.0334 0.1142)
OKLCHoklch(71% 0.119 106.3)
XYZxyz(31.5060, 36.3610, 10.9878)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA645 #454AAB
analogous
#AB7345 #ABA645 #7DAB45
triadic
#ABA645 #45ABA6 #A645AB
tetradic
#ABA645 #45AB73 #454AAB #AB457D
square
#ABA645 #45AB73 #454AAB #AB457D
split-complementary
#ABA645 #457DAB #7345AB
monochromatic
#545122 #7F7C33 #ABA645 #C3BF6A #D5D196

Accessibility & contrast

On white

2.54
#ABA645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#ABA645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA645
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA645#FFFFFF#000000##000000
##ABA6451.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03A
Deuteranopia (green-blind)
#B5A44A
Tritanopia (blue-blind)
#B79C91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba645;
/* rgb */ color: rgb(171, 166, 69);
/* oklch */ color: oklch(71.0% 0.119 106.3);
Tailwind
colors: {
  custom: {
    50: '#c6c07d',
    500: '#aba645',
    950: '#000000',
  },
}
SCSS
$custom: #aba645;
$custom-light: #c6c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba645",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 57.059,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71001,
    "c": 0.11896,
    "h": 106.3
  },
  "luminance": 0.3636
}

Semantic roles & 50–950 ramp

primary
#ABA645
secondary
#8B8EC0
accent
#5CD256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA645

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

Preview Lab → · Contrast checker → · Palette generator →

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