#ABA342#ABA342

#ABA342 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.3% C 0.118 H 104.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#ABA342
RGBrgb(171, 163, 66)
HSLhsl(55, 44%, 46%)
HSVhsv(55, 61%, 67%)
CMYKcmyk(0%, 4.7%, 61.4%, 32.9%)
CIE-LABlab(65.94, -9.48, 50.06)
CIE-LCHlch(65.94, 50.95, 100.72°)
OKLaboklab(70.31% -0.0298 0.1147)
OKLCHoklch(70.31% 0.118 104.6)
XYZxyz(30.8762, 35.2467, 10.3301)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA342 #424AAB
analogous
#AB6F42 #ABA342 #7FAB42
triadic
#ABA342 #42ABA3 #A342AB
tetradic
#ABA342 #42AB6F #424AAB #AB427F
square
#ABA342 #42AB6F #424AAB #AB427F
split-complementary
#ABA342 #427FAB #6F42AB
monochromatic
#534F20 #7F7931 #ABA342 #C4BD66 #D5D092

Accessibility & contrast

On white

2.61
#ABA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#ABA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA342
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA342#FFFFFF#000000##000000
##ABA3421.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E37
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#B7998E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba342;
/* rgb */ color: rgb(171, 163, 66);
/* oklch */ color: oklch(70.3% 0.118 104.6);
Tailwind
colors: {
  custom: {
    50: '#c7be7a',
    500: '#aba342',
    950: '#000000',
  },
}
SCSS
$custom: #aba342;
$custom-light: #c7be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba342",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 55.429,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70312,
    "c": 0.11848,
    "h": 104.6
  },
  "luminance": 0.35246
}

Semantic roles & 50–950 ramp

primary
#ABA342
secondary
#888DC0
accent
#5ED454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA342

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

Preview Lab → · Contrast checker → · Palette generator →

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