#ABA846#ABA846

#ABA846 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.120 H 107.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#ABA846
RGBrgb(171, 168, 70)
HSLhsl(58, 42%, 47%)
HSVhsv(58, 59%, 67%)
CMYKcmyk(0%, 1.8%, 59.1%, 32.9%)
CIE-LABlab(67.36, -11.81, 49.80)
CIE-LCHlch(67.36, 51.18, 103.34°)
OKLaboklab(71.45% -0.036 0.1147)
OKLCHoklch(71.45% 0.12 107.4)
XYZxyz(31.9037, 37.1063, 11.2748)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA846 #4649AB
analogous
#AB7646 #ABA846 #7BAB46
triadic
#ABA846 #46ABA8 #A846AB
tetradic
#ABA846 #46AB76 #4649AB #AB467B
square
#ABA846 #46AB76 #4649AB #AB467B
split-complementary
#ABA846 #467BAB #7646AB
monochromatic
#545322 #807D34 #ABA846 #C3C06C #D4D397

Accessibility & contrast

On white

2.49
#ABA846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#ABA846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA846
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA846#FFFFFF#000000##000000
##ABA8461.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23B
Deuteranopia (green-blind)
#B7A64C
Tritanopia (blue-blind)
#B69E93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba846;
/* rgb */ color: rgb(171, 168, 70);
/* oklch */ color: oklch(71.5% 0.120 107.4);
Tailwind
colors: {
  custom: {
    50: '#c6c17d',
    500: '#aba846',
    950: '#000000',
  },
}
SCSS
$custom: #aba846;
$custom-light: #c6c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba846",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 70
  },
  "hsl": {
    "h": 58.218,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71451,
    "c": 0.12019,
    "h": 107.4
  },
  "luminance": 0.37105
}

Semantic roles & 50–950 ramp

primary
#ABA846
secondary
#8C8EC0
accent
#5AD256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA846

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

Preview Lab → · Contrast checker → · Palette generator →

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