#ABA05B#ABA05B

#ABA05B is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.091 H 100.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#ABA05B
RGBrgb(171, 160, 91)
HSLhsl(52, 32%, 51%)
HSVhsv(52, 47%, 67%)
CMYKcmyk(0%, 6.4%, 46.8%, 32.9%)
CIE-LABlab(65.40, -5.76, 37.24)
CIE-LCHlch(65.40, 37.68, 98.79°)
OKLaboklab(69.97% -0.0164 0.0895)
OKLCHoklch(69.97% 0.091 100.4)
XYZxyz(31.2545, 34.5559, 14.9191)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA05B #5B66AB
analogous
#AB785B #ABA05B #8EAB5B
triadic
#ABA05B #5BABA0 #A05BAB
tetradic
#ABA05B #5BAB78 #5B66AB #AB5B8E
square
#ABA05B #5BAB78 #5B66AB #AB5B8E
split-complementary
#ABA05B #5B8EAB #785BAB
monochromatic
#5C562F #857C44 #ABA05B #C0B783 #D4CFAC

Accessibility & contrast

On white

2.65
#ABA05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#ABA05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA05B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA05B#FFFFFF#000000##000000
##ABA05B1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C55
Deuteranopia (green-blind)
#AFA15E
Tritanopia (blue-blind)
#B6978F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba05b;
/* rgb */ color: rgb(171, 160, 91);
/* oklch */ color: oklch(70.0% 0.091 100.4);
Tailwind
colors: {
  custom: {
    50: '#c5bb8b',
    500: '#aba05b',
    950: '#000000',
  },
}
SCSS
$custom: #aba05b;
$custom-light: #c5bb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba05b",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 91
  },
  "hsl": {
    "h": 51.75,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.69975,
    "c": 0.09095,
    "h": 100.4
  },
  "luminance": 0.34555
}

Semantic roles & 50–950 ramp

primary
#ABA05B
secondary
#9FA4C3
accent
#6EC85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #ABA05B

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

Preview Lab → · Contrast checker → · Palette generator →

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