#ABA258#ABA258

#ABA258 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.096 H 102.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#ABA258
RGBrgb(171, 162, 88)
HSLhsl(53, 33%, 51%)
HSVhsv(53, 49%, 67%)
CMYKcmyk(0%, 5.3%, 48.5%, 32.9%)
CIE-LABlab(65.91, -7.12, 39.40)
CIE-LCHlch(65.91, 40.04, 100.24°)
OKLaboklab(70.36% -0.0206 0.094)
OKLCHoklch(70.36% 0.096 102.4)
XYZxyz(31.4772, 35.2042, 14.3676)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA258 #5861AB
analogous
#AB7858 #ABA258 #8AAB58
triadic
#ABA258 #58ABA2 #A258AB
tetradic
#ABA258 #58AB78 #5861AB #AB588A
square
#ABA258 #58AB78 #5861AB #AB588A
split-complementary
#ABA258 #588AAB #7858AB
monochromatic
#5B562E #847D42 #ABA258 #BFB981 #D4CFA9

Accessibility & contrast

On white

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

On black

8.04
#ABA258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA258
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA258#FFFFFF#000000##000000
##ABA2581.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E52
Deuteranopia (green-blind)
#B1A25B
Tritanopia (blue-blind)
#B69991
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba258;
/* rgb */ color: rgb(171, 162, 88);
/* oklch */ color: oklch(70.4% 0.096 102.4);
Tailwind
colors: {
  custom: {
    50: '#c6bd89',
    500: '#aba258',
    950: '#000000',
  },
}
SCSS
$custom: #aba258;
$custom-light: #c6bd89;
$custom-dark: #000000;
JSON
{
  "hex": "#aba258",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 53.494,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70363,
    "c": 0.09627,
    "h": 102.4
  },
  "luminance": 0.35203
}

Semantic roles & 50–950 ramp

primary
#ABA258
secondary
#9DA1C2
accent
#6AC95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA258

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

Preview Lab → · Contrast checker → · Palette generator →

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