#ABA254#ABA254

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

Color values

HEX#ABA254
RGBrgb(171, 162, 84)
HSLhsl(54, 34%, 50%)
HSVhsv(54, 51%, 67%)
CMYKcmyk(0%, 5.3%, 50.9%, 32.9%)
CIE-LABlab(65.86, -7.49, 41.36)
CIE-LCHlch(65.86, 42.03, 100.27°)
OKLaboklab(70.31% -0.0221 0.098)
OKLCHoklch(70.31% 0.1 102.7)
XYZxyz(31.3160, 35.1397, 13.5188)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA254 #545DAB
analogous
#AB7654 #ABA254 #89AB54
triadic
#ABA254 #54ABA2 #A254AB
tetradic
#ABA254 #54AB76 #545DAB #AB5489
square
#ABA254 #54AB76 #545DAB #AB5489
split-complementary
#ABA254 #5489AB #7654AB
monochromatic
#59542C #827B40 #ABA254 #BFB87D #D3CFA6

Accessibility & contrast

On white

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

On black

8.03
#ABA254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA254
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA254#FFFFFF#000000##000000
##ABA2541.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4D
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#B69990
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba254;
/* rgb */ color: rgb(171, 162, 84);
/* oklch */ color: oklch(70.3% 0.100 102.7);
Tailwind
colors: {
  custom: {
    50: '#c6bd86',
    500: '#aba254',
    950: '#000000',
  },
}
SCSS
$custom: #aba254;
$custom-light: #c6bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#aba254",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 53.793,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.70307,
    "c": 0.10047,
    "h": 102.7
  },
  "luminance": 0.35139
}

Semantic roles & 50–950 ramp

primary
#ABA254
secondary
#9A9EC1
accent
#69CA5E
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA254

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

Preview Lab → · Contrast checker → · Palette generator →

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