#ABA131#ABA131

#ABA131 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.129 H 104.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#ABA131
RGBrgb(171, 161, 49)
HSLhsl(55, 55%, 43%)
HSVhsv(55, 71%, 67%)
CMYKcmyk(0%, 5.8%, 71.3%, 32.9%)
CIE-LABlab(65.26, -9.45, 56.49)
CIE-LCHlch(65.26, 57.27, 99.50°)
OKLaboklab(69.72% -0.0317 0.1255)
OKLCHoklch(69.72% 0.129 104.2)
XYZxyz(30.0951, 34.3706, 7.9541)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA131 #313BAB
analogous
#AB6431 #ABA131 #78AB31
triadic
#ABA131 #31ABA1 #A131AB
tetradic
#ABA131 #31AB64 #313BAB #AB3178
square
#ABA131 #31AB64 #313BAB #AB3178
split-complementary
#ABA131 #3178AB #6431AB
monochromatic
#4C4716 #7B7423 #ABA131 #CCC24D #DAD27D

Accessibility & contrast

On white

2.67
#ABA131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#ABA131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA131
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA131#FFFFFF#000000##000000
##ABA1311.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#B8968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba131;
/* rgb */ color: rgb(171, 161, 49);
/* oklch */ color: oklch(69.7% 0.129 104.2);
Tailwind
colors: {
  custom: {
    50: '#c7bc71',
    500: '#aba131',
    950: '#000000',
  },
}
SCSS
$custom: #aba131;
$custom-light: #c7bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#aba131",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 55.082,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69724,
    "c": 0.12943,
    "h": 104.2
  },
  "luminance": 0.34369
}

Semantic roles & 50–950 ramp

primary
#ABA131
secondary
#757CC2
accent
#55DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA131

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

Preview Lab → · Contrast checker → · Palette generator →

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