#ABA251#ABA251

#ABA251 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.104 H 103.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#ABA251
RGBrgb(171, 162, 81)
HSLhsl(54, 36%, 49%)
HSVhsv(54, 53%, 67%)
CMYKcmyk(0%, 5.3%, 52.6%, 32.9%)
CIE-LABlab(65.82, -7.76, 42.81)
CIE-LCHlch(65.82, 43.51, 100.28°)
OKLaboklab(70.27% -0.0232 0.1009)
OKLCHoklch(70.27% 0.104 103)
XYZxyz(31.2010, 35.0937, 12.9132)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA251 #515AAB
analogous
#AB7551 #ABA251 #87AB51
triadic
#ABA251 #51ABA2 #A251AB
tetradic
#ABA251 #51AB75 #515AAB #AB5187
square
#ABA251 #51AB75 #515AAB #AB5187
split-complementary
#ABA251 #5187AB #7551AB
monochromatic
#58532A #817B3D #ABA251 #C0B979 #D3CFA3

Accessibility & contrast

On white

2.62
#ABA251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#ABA251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA251
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA251#FFFFFF#000000##000000
##ABA2511.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#B1A255
Tritanopia (blue-blind)
#B6998F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba251;
/* rgb */ color: rgb(171, 162, 81);
/* oklch */ color: oklch(70.3% 0.104 103.0);
Tailwind
colors: {
  custom: {
    50: '#c6bd84',
    500: '#aba251',
    950: '#000000',
  },
}
SCSS
$custom: #aba251;
$custom-light: #c6bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#aba251",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 54,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70268,
    "c": 0.10352,
    "h": 103
  },
  "luminance": 0.35093
}

Semantic roles & 50–950 ramp

primary
#ABA251
secondary
#979BC1
accent
#67CC5C
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA251

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

Preview Lab → · Contrast checker → · Palette generator →

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