#ABA631#ABA631

#ABA631 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.134 H 106.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#ABA631
RGBrgb(171, 166, 49)
HSLhsl(58, 55%, 43%)
HSVhsv(58, 71%, 67%)
CMYKcmyk(0%, 2.9%, 71.3%, 32.9%)
CIE-LABlab(66.64, -12.07, 57.84)
CIE-LCHlch(66.64, 59.09, 101.79°)
OKLaboklab(70.82% -0.039 0.1284)
OKLCHoklch(70.82% 0.134 106.9)
XYZxyz(30.9864, 36.1532, 8.2512)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA631 #3136AB
analogous
#AB6931 #ABA631 #73AB31
triadic
#ABA631 #31ABA6 #A631AB
tetradic
#ABA631 #31AB69 #3136AB #AB3173
square
#ABA631 #31AB69 #3136AB #AB3173
split-complementary
#ABA631 #3173AB #6931AB
monochromatic
#4C4A16 #7B7823 #ABA631 #CCC74D #DAD67D

Accessibility & contrast

On white

2.55
#ABA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#ABA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA631
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA631#FFFFFF#000000##000000
##ABA6311.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01D
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#B89B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba631;
/* rgb */ color: rgb(171, 166, 49);
/* oklch */ color: oklch(70.8% 0.134 106.9);
Tailwind
colors: {
  custom: {
    50: '#c7c071',
    500: '#aba631',
    950: '#000000',
  },
}
SCSS
$custom: #aba631;
$custom-light: #c7c071;
$custom-dark: #000000;
JSON
{
  "hex": "#aba631",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 57.541,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70824,
    "c": 0.13417,
    "h": 106.9
  },
  "luminance": 0.36152
}

Semantic roles & 50–950 ramp

primary
#ABA631
secondary
#7579C2
accent
#4FDF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABA631

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

Preview Lab → · Contrast checker → · Palette generator →

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