#ABA351#ABA351

#ABA351 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.105 H 103.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#ABA351
RGBrgb(171, 163, 81)
HSLhsl(55, 36%, 49%)
HSVhsv(55, 53%, 67%)
CMYKcmyk(0%, 4.7%, 52.6%, 32.9%)
CIE-LABlab(66.10, -8.29, 43.13)
CIE-LCHlch(66.10, 43.92, 100.88°)
OKLaboklab(70.49% -0.0248 0.1016)
OKLCHoklch(70.49% 0.105 103.7)
XYZxyz(31.3779, 35.4474, 12.9722)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA351 #5159AB
analogous
#AB7651 #ABA351 #86AB51
triadic
#ABA351 #51ABA3 #A351AB
tetradic
#ABA351 #51AB76 #5159AB #AB5186
square
#ABA351 #51AB76 #5159AB #AB5186
split-complementary
#ABA351 #5186AB #7651AB
monochromatic
#58542A #817B3D #ABA351 #C0B979 #D3CFA3

Accessibility & contrast

On white

2.60
#ABA351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#ABA351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA351
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA351#FFFFFF#000000##000000
##ABA3511.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E49
Deuteranopia (green-blind)
#B2A355
Tritanopia (blue-blind)
#B69A90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba351;
/* rgb */ color: rgb(171, 163, 81);
/* oklch */ color: oklch(70.5% 0.105 103.7);
Tailwind
colors: {
  custom: {
    50: '#c6be84',
    500: '#aba351',
    950: '#000000',
  },
}
SCSS
$custom: #aba351;
$custom-light: #c6be84;
$custom-dark: #000000;
JSON
{
  "hex": "#aba351",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 81
  },
  "hsl": {
    "h": 54.667,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70485,
    "c": 0.10455,
    "h": 103.7
  },
  "luminance": 0.35446
}

Semantic roles & 50–950 ramp

primary
#ABA351
secondary
#979BC1
accent
#66CC5C
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA351

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

Preview Lab → · Contrast checker → · Palette generator →

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