#ABA255#ABA255

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

Color values

HEX#ABA255
RGBrgb(171, 162, 85)
HSLhsl(54, 34%, 50%)
HSVhsv(54, 50%, 67%)
CMYKcmyk(0%, 5.3%, 50.3%, 32.9%)
CIE-LABlab(65.87, -7.40, 40.87)
CIE-LCHlch(65.87, 41.54, 100.26°)
OKLaboklab(70.32% -0.0218 0.097)
OKLCHoklch(70.32% 0.099 102.6)
XYZxyz(31.3555, 35.1555, 13.7266)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA255 #555EAB
analogous
#AB7755 #ABA255 #89AB55
triadic
#ABA255 #55ABA2 #A255AB
tetradic
#ABA255 #55AB77 #555EAB #AB5589
square
#ABA255 #55AB77 #555EAB #AB5589
split-complementary
#ABA255 #5589AB #7755AB
monochromatic
#59552C #827B40 #ABA255 #BFB87E #D3CFA7

Accessibility & contrast

On white

2.61
#ABA255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA255#FFFFFF#000000##000000
##ABA2551.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba255;
/* rgb */ color: rgb(171, 162, 85);
/* oklch */ color: oklch(70.3% 0.099 102.6);
Tailwind
colors: {
  custom: {
    50: '#c6bd87',
    500: '#aba255',
    950: '#000000',
  },
}
SCSS
$custom: #aba255;
$custom-light: #c6bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#aba255",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 53.721,
    "s": 33.858,
    "l": 50.196
  },
  "oklch": {
    "l": 0.70321,
    "c": 0.09943,
    "h": 102.6
  },
  "luminance": 0.35154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA255

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

Preview Lab → · Contrast checker → · Palette generator →

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