#ABA158#ABA158

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

Color values

HEX#ABA158
RGBrgb(171, 161, 88)
HSLhsl(53, 33%, 51%)
HSVhsv(53, 49%, 67%)
CMYKcmyk(0%, 5.8%, 48.5%, 32.9%)
CIE-LABlab(65.63, -6.59, 39.07)
CIE-LCHlch(65.63, 39.62, 99.57°)
OKLaboklab(70.15% -0.0191 0.0933)
OKLCHoklch(70.15% 0.095 101.6)
XYZxyz(31.3017, 34.8533, 14.3091)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA158 #5862AB
analogous
#AB7758 #ABA158 #8BAB58
triadic
#ABA158 #58ABA1 #A158AB
tetradic
#ABA158 #58AB77 #5862AB #AB588B
square
#ABA158 #58AB77 #5862AB #AB588B
split-complementary
#ABA158 #588BAB #7758AB
monochromatic
#5B552E #847C42 #ABA158 #BFB881 #D4CFA9

Accessibility & contrast

On white

2.63
#ABA158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA158#FFFFFF#000000##000000
##ABA1581.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba158;
/* rgb */ color: rgb(171, 161, 88);
/* oklch */ color: oklch(70.1% 0.095 101.6);
Tailwind
colors: {
  custom: {
    50: '#c6bc89',
    500: '#aba158',
    950: '#000000',
  },
}
SCSS
$custom: #aba158;
$custom-light: #c6bc89;
$custom-dark: #000000;
JSON
{
  "hex": "#aba158",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 52.771,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70147,
    "c": 0.09523,
    "h": 101.6
  },
  "luminance": 0.34852
}

Semantic roles & 50–950 ramp

primary
#ABA158
secondary
#9DA1C2
accent
#6BC95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA158

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

Preview Lab → · Contrast checker → · Palette generator →

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