#ABA147#ABA147

#ABA147 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.112 H 103.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#ABA147
RGBrgb(171, 161, 71)
HSLhsl(54, 41%, 47%)
HSVhsv(54, 58%, 67%)
CMYKcmyk(0%, 5.8%, 58.5%, 32.9%)
CIE-LABlab(65.44, -8.05, 47.20)
CIE-LCHlch(65.44, 47.88, 99.68°)
OKLaboklab(69.93% -0.0252 0.1092)
OKLCHoklch(69.93% 0.112 103)
XYZxyz(30.6778, 34.6037, 11.0232)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA147 #4751AB
analogous
#AB6F47 #ABA147 #83AB47
triadic
#ABA147 #47ABA1 #A147AB
tetradic
#ABA147 #47AB6F #4751AB #AB4783
square
#ABA147 #47AB6F #4751AB #AB4783
split-complementary
#ABA147 #4783AB #6F47AB
monochromatic
#555023 #807835 #ABA147 #C2BA6D #D4CE98

Accessibility & contrast

On white

2.65
#ABA147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#ABA147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA147
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA147#FFFFFF#000000##000000
##ABA1471.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3E
Deuteranopia (green-blind)
#B1A14C
Tritanopia (blue-blind)
#B7978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba147;
/* rgb */ color: rgb(171, 161, 71);
/* oklch */ color: oklch(69.9% 0.112 103.0);
Tailwind
colors: {
  custom: {
    50: '#c6bc7d',
    500: '#aba147',
    950: '#000000',
  },
}
SCSS
$custom: #aba147;
$custom-light: #c6bc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba147",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 54,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69929,
    "c": 0.1121,
    "h": 103
  },
  "luminance": 0.34603
}

Semantic roles & 50–950 ramp

primary
#ABA147
secondary
#8D93C0
accent
#63D157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA147

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

Preview Lab → · Contrast checker → · Palette generator →

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