#ABA157#ABA157

#ABA157 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.096 H 101.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#ABA157
RGBrgb(171, 161, 87)
HSLhsl(53, 33%, 51%)
HSVhsv(53, 49%, 67%)
CMYKcmyk(0%, 5.8%, 49.1%, 32.9%)
CIE-LABlab(65.62, -6.68, 39.56)
CIE-LCHlch(65.62, 40.12, 99.59°)
OKLaboklab(70.13% -0.0195 0.0943)
OKLCHoklch(70.13% 0.096 101.7)
XYZxyz(31.2606, 34.8368, 14.0925)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA157 #5761AB
analogous
#AB7757 #ABA157 #8BAB57
triadic
#ABA157 #57ABA1 #A157AB
tetradic
#ABA157 #57AB77 #5761AB #AB578B
square
#ABA157 #57AB77 #5761AB #AB578B
split-complementary
#ABA157 #578BAB #7757AB
monochromatic
#5A552D #837B42 #ABA157 #BFB880 #D4CFA9

Accessibility & contrast

On white

2.64
#ABA157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#ABA157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA157
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA157#FFFFFF#000000##000000
##ABA1571.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D51
Deuteranopia (green-blind)
#B0A15A
Tritanopia (blue-blind)
#B69890
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba157;
/* rgb */ color: rgb(171, 161, 87);
/* oklch */ color: oklch(70.1% 0.096 101.7);
Tailwind
colors: {
  custom: {
    50: '#c6bc88',
    500: '#aba157',
    950: '#000000',
  },
}
SCSS
$custom: #aba157;
$custom-light: #c6bc88;
$custom-dark: #000000;
JSON
{
  "hex": "#aba157",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 52.857,
    "s": 33.333,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70132,
    "c": 0.09629,
    "h": 101.7
  },
  "luminance": 0.34836
}

Semantic roles & 50–950 ramp

primary
#ABA157
secondary
#9CA1C2
accent
#6BC95E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA157

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

Preview Lab → · Contrast checker → · Palette generator →

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