#ABA831#ABA831

#ABA831 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.3% C 0.136 H 108.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#ABA831
RGBrgb(171, 168, 49)
HSLhsl(59, 55%, 43%)
HSVhsv(59, 71%, 67%)
CMYKcmyk(0%, 1.8%, 71.3%, 32.9%)
CIE-LABlab(67.19, -13.11, 58.38)
CIE-LCHlch(67.19, 59.84, 102.66°)
OKLaboklab(71.27% -0.042 0.1295)
OKLCHoklch(71.27% 0.136 108)
XYZxyz(31.3528, 36.8860, 8.3733)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA831 #3134AB
analogous
#AB6B31 #ABA831 #71AB31
triadic
#ABA831 #31ABA8 #A831AB
tetradic
#ABA831 #31AB6B #3134AB #AB3171
square
#ABA831 #31AB6B #3134AB #AB3171
split-complementary
#ABA831 #3171AB #6B31AB
monochromatic
#4C4B16 #7B7923 #ABA831 #CCC94D #DAD77D

Accessibility & contrast

On white

2.51
#ABA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#ABA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA831
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA831#FFFFFF#000000##000000
##ABA8311.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#B79D91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba831;
/* rgb */ color: rgb(171, 168, 49);
/* oklch */ color: oklch(71.3% 0.136 108.0);
Tailwind
colors: {
  custom: {
    50: '#c7c171',
    500: '#aba831',
    950: '#000000',
  },
}
SCSS
$custom: #aba831;
$custom-light: #c7c171;
$custom-dark: #000000;
JSON
{
  "hex": "#aba831",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 58.525,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71266,
    "c": 0.13613,
    "h": 108
  },
  "luminance": 0.36885
}

Semantic roles & 50–950 ramp

primary
#ABA831
secondary
#7577C2
accent
#4DDF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABA831

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

Preview Lab → · Contrast checker → · Palette generator →

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