#ABA53B#ABA53B

#ABA53B is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.126 H 106.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#ABA53B
RGBrgb(171, 165, 59)
HSLhsl(57, 49%, 45%)
HSVhsv(57, 65%, 67%)
CMYKcmyk(0%, 3.5%, 65.5%, 32.9%)
CIE-LABlab(66.43, -10.99, 53.64)
CIE-LCHlch(66.43, 54.76, 101.58°)
OKLaboklab(70.68% -0.0349 0.1212)
OKLCHoklch(70.68% 0.126 106.1)
XYZxyz(31.0403, 35.8850, 9.4283)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA53B #3B41AB
analogous
#AB6D3B #ABA53B #79AB3B
triadic
#ABA53B #3BABA5 #A53BAB
tetradic
#ABA53B #3BAB6D #3B41AB #AB3B79
square
#ABA53B #3BAB6D #3B41AB #AB3B79
split-complementary
#ABA53B #3B79AB #6D3BAB
monochromatic
#504D1C #7D792B #ABA53B #C7C15C #D7D28A

Accessibility & contrast

On white

2.57
#ABA53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#ABA53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA53B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA53B#FFFFFF#000000##000000
##ABA53B1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2D
Deuteranopia (green-blind)
#B5A442
Tritanopia (blue-blind)
#B79A8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba53b;
/* rgb */ color: rgb(171, 165, 59);
/* oklch */ color: oklch(70.7% 0.126 106.1);
Tailwind
colors: {
  custom: {
    50: '#c7bf76',
    500: '#aba53b',
    950: '#000000',
  },
}
SCSS
$custom: #aba53b;
$custom-light: #c7bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#aba53b",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 59
  },
  "hsl": {
    "h": 56.786,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70684,
    "c": 0.12614,
    "h": 106.1
  },
  "luminance": 0.35884
}

Semantic roles & 50–950 ramp

primary
#ABA53B
secondary
#8184C1
accent
#57D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA53B

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

Preview Lab → · Contrast checker → · Palette generator →

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