#ABA940#ABA940

#ABA940 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.6% C 0.126 H 108.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#ABA940
RGBrgb(171, 169, 64)
HSLhsl(59, 46%, 46%)
HSVhsv(59, 63%, 67%)
CMYKcmyk(0%, 1.2%, 62.6%, 32.9%)
CIE-LABlab(67.58, -12.75, 52.71)
CIE-LCHlch(67.58, 54.23, 103.60°)
OKLaboklab(71.61% -0.0394 0.12)
OKLCHoklch(71.61% 0.126 108.2)
XYZxyz(31.9090, 37.4050, 10.3885)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA940 #4042AB
analogous
#AB7340 #ABA940 #77AB40
triadic
#ABA940 #40ABA9 #A940AB
tetradic
#ABA940 #40AB73 #4042AB #AB4077
square
#ABA940 #40AB73 #4042AB #AB4077
split-complementary
#ABA940 #4077AB #7340AB
monochromatic
#52511F #7E7D2F #ABA940 #C5C363 #D5D490

Accessibility & contrast

On white

2.48
#ABA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#ABA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA940
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA940#FFFFFF#000000##000000
##ABA9401.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#B79F93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba940;
/* rgb */ color: rgb(171, 169, 64);
/* oklch */ color: oklch(71.6% 0.126 108.2);
Tailwind
colors: {
  custom: {
    50: '#c7c27a',
    500: '#aba940',
    950: '#000000',
  },
}
SCSS
$custom: #aba940;
$custom-light: #c7c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba940",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 58.879,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71612,
    "c": 0.12629,
    "h": 108.2
  },
  "luminance": 0.37404
}

Semantic roles & 50–950 ramp

primary
#ABA940
secondary
#8687C1
accent
#55D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA940

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

Preview Lab → · Contrast checker → · Palette generator →

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