#ABA274#ABA274

#ABA274 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.064 H 98.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#ABA274
RGBrgb(171, 162, 116)
HSLhsl(50, 25%, 56%)
HSVhsv(50, 32%, 67%)
CMYKcmyk(0%, 5.3%, 32.2%, 32.9%)
CIE-LABlab(66.34, -3.95, 25.15)
CIE-LCHlch(66.34, 25.46, 98.92°)
OKLaboklab(70.84% -0.0093 0.0629)
OKLCHoklch(70.84% 0.064 98.4)
XYZxyz(32.8676, 35.7603, 21.6907)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA274 #747DAB
analogous
#AB8774 #ABA274 #99AB74
triadic
#ABA274 #74ABA2 #A274AB
tetradic
#ABA274 #74AB87 #747DAB #AB7499
square
#ABA274 #74AB87 #747DAB #AB7499
split-complementary
#ABA274 #7499AB #8774AB
monochromatic
#67603E #8D8455 #ABA274 #C2BC9A #D9D5C0

Accessibility & contrast

On white

2.58
#ABA274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#ABA274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA274
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA274#FFFFFF#000000##000000
##ABA2741.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F71
Deuteranopia (green-blind)
#AEA376
Tritanopia (blue-blind)
#B39C96
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba274;
/* rgb */ color: rgb(171, 162, 116);
/* oklch */ color: oklch(70.8% 0.064 98.4);
Tailwind
colors: {
  custom: {
    50: '#c4bd9c',
    500: '#aba274',
    950: '#000000',
  },
}
SCSS
$custom: #aba274;
$custom-light: #c4bd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#aba274",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 116
  },
  "hsl": {
    "h": 50.182,
    "s": 24.664,
    "l": 56.275
  },
  "oklch": {
    "l": 0.70843,
    "c": 0.06354,
    "h": 98.4
  },
  "luminance": 0.3576
}

Semantic roles & 50–950 ramp

primary
#ABA274
secondary
#B2B6C9
accent
#75C167
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA274

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

Preview Lab → · Contrast checker → · Palette generator →

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