#ABA840#ABA840

#ABA840 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.125 H 107.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#ABA840
RGBrgb(171, 168, 64)
HSLhsl(58, 46%, 46%)
HSVhsv(58, 63%, 67%)
CMYKcmyk(0%, 1.8%, 62.6%, 32.9%)
CIE-LABlab(67.30, -12.23, 52.42)
CIE-LCHlch(67.30, 53.83, 103.14°)
OKLaboklab(71.39% -0.0379 0.1194)
OKLCHoklch(71.39% 0.125 107.6)
XYZxyz(31.7237, 37.0343, 10.3267)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA840 #4043AB
analogous
#AB7240 #ABA840 #78AB40
triadic
#ABA840 #40ABA8 #A840AB
tetradic
#ABA840 #40AB72 #4043AB #AB4078
square
#ABA840 #40AB72 #4043AB #AB4078
split-complementary
#ABA840 #4078AB #7240AB
monochromatic
#52501F #7E7C2F #ABA840 #C5C263 #D5D390

Accessibility & contrast

On white

2.50
#ABA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#ABA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA840
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA840#FFFFFF#000000##000000
##ABA8401.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A233
Deuteranopia (green-blind)
#B7A646
Tritanopia (blue-blind)
#B79E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba840;
/* rgb */ color: rgb(171, 168, 64);
/* oklch */ color: oklch(71.4% 0.125 107.6);
Tailwind
colors: {
  custom: {
    50: '#c7c17a',
    500: '#aba840',
    950: '#000000',
  },
}
SCSS
$custom: #aba840;
$custom-light: #c7c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba840",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 58.318,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71391,
    "c": 0.12525,
    "h": 107.6
  },
  "luminance": 0.37033
}

Semantic roles & 50–950 ramp

primary
#ABA840
secondary
#8688C1
accent
#56D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA840

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

Preview Lab → · Contrast checker → · Palette generator →

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