#ABA646#ABA646

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

Color values

HEX#ABA646
RGBrgb(171, 166, 70)
HSLhsl(57, 42%, 47%)
HSVhsv(57, 59%, 67%)
CMYKcmyk(0%, 2.9%, 59.1%, 32.9%)
CIE-LABlab(66.80, -10.76, 49.19)
CIE-LCHlch(66.80, 50.35, 102.34°)
OKLaboklab(71.01% -0.0331 0.1134)
OKLCHoklch(71.01% 0.118 106.3)
XYZxyz(31.5373, 36.3736, 11.1527)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA646 #464BAB
analogous
#AB7446 #ABA646 #7DAB46
triadic
#ABA646 #46ABA6 #A646AB
tetradic
#ABA646 #46AB74 #464BAB #AB467D
square
#ABA646 #46AB74 #464BAB #AB467D
split-complementary
#ABA646 #467DAB #7446AB
monochromatic
#545222 #807C34 #ABA646 #C3BE6C #D4D197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA646#FFFFFF#000000##000000
##ABA6461.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)
#B3A03C
Deuteranopia (green-blind)
#B5A44B
Tritanopia (blue-blind)
#B79C91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba646;
/* rgb */ color: rgb(171, 166, 70);
/* oklch */ color: oklch(71.0% 0.118 106.3);
Tailwind
colors: {
  custom: {
    50: '#c6c07d',
    500: '#aba646',
    950: '#000000',
  },
}
SCSS
$custom: #aba646;
$custom-light: #c6c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba646",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 70
  },
  "hsl": {
    "h": 57.03,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71011,
    "c": 0.11808,
    "h": 106.3
  },
  "luminance": 0.36373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA646

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

Preview Lab → · Contrast checker → · Palette generator →

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