#ABA847#ABA847

#ABA847 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.119 H 107.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#ABA847
RGBrgb(171, 168, 71)
HSLhsl(58, 41%, 47%)
HSVhsv(58, 58%, 67%)
CMYKcmyk(0%, 1.8%, 58.5%, 32.9%)
CIE-LABlab(67.37, -11.74, 49.35)
CIE-LCHlch(67.37, 50.73, 103.38°)
OKLaboklab(71.46% -0.0357 0.1138)
OKLCHoklch(71.46% 0.119 107.4)
XYZxyz(31.9355, 37.1191, 11.4425)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA847 #474AAB
analogous
#AB7647 #ABA847 #7CAB47
triadic
#ABA847 #47ABA8 #A847AB
tetradic
#ABA847 #47AB76 #474AAB #AB477C
square
#ABA847 #47AB76 #474AAB #AB477C
split-complementary
#ABA847 #477CAB #7647AB
monochromatic
#555323 #807E35 #ABA847 #C2C06D #D4D298

Accessibility & contrast

On white

2.49
#ABA847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#ABA847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA847
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA847#FFFFFF#000000##000000
##ABA8471.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23C
Deuteranopia (green-blind)
#B7A64C
Tritanopia (blue-blind)
#B69E93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba847;
/* rgb */ color: rgb(171, 168, 71);
/* oklch */ color: oklch(71.5% 0.119 107.4);
Tailwind
colors: {
  custom: {
    50: '#c6c17e',
    500: '#aba847',
    950: '#000000',
  },
}
SCSS
$custom: #aba847;
$custom-light: #c6c17e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba847",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 71
  },
  "hsl": {
    "h": 58.2,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71462,
    "c": 0.11931,
    "h": 107.4
  },
  "luminance": 0.37118
}

Semantic roles & 50–950 ramp

primary
#ABA847
secondary
#8D8FC0
accent
#5AD157
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA847

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

Preview Lab → · Contrast checker → · Palette generator →

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