#ABA478#ABA478

#ABA478 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.061 H 100.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#ABA478
RGBrgb(171, 164, 120)
HSLhsl(52, 23%, 57%)
HSVhsv(52, 30%, 67%)
CMYKcmyk(0%, 4.1%, 29.8%, 32.9%)
CIE-LABlab(66.95, -4.49, 23.80)
CIE-LCHlch(66.95, 24.22, 100.69°)
OKLaboklab(71.35% -0.0107 0.0597)
OKLCHoklch(71.35% 0.061 100.1)
XYZxyz(33.4604, 36.5656, 23.0609)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA478 #787FAB
analogous
#AB8B78 #ABA478 #99AB78
triadic
#ABA478 #78ABA4 #A478AB
tetradic
#ABA478 #78AB8B #787FAB #AB7899
square
#ABA478 #78AB8B #787FAB #AB7899
split-complementary
#ABA478 #7899AB #8B78AB
monochromatic
#686341 #8E8658 #ABA478 #C2BD9E #DAD7C3

Accessibility & contrast

On white

2.53
#ABA478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#ABA478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA478
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA478#FFFFFF#000000##000000
##ABA4781.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA175
Deuteranopia (green-blind)
#AFA47A
Tritanopia (blue-blind)
#B39E98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba478;
/* rgb */ color: rgb(171, 164, 120);
/* oklch */ color: oklch(71.4% 0.061 100.1);
Tailwind
colors: {
  custom: {
    50: '#c4be9f',
    500: '#aba478',
    950: '#000000',
  },
}
SCSS
$custom: #aba478;
$custom-light: #c4be9f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba478",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 120
  },
  "hsl": {
    "h": 51.765,
    "s": 23.288,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71352,
    "c": 0.06069,
    "h": 100.1
  },
  "luminance": 0.36565
}

Semantic roles & 50–950 ramp

primary
#ABA478
secondary
#B5B8CA
accent
#74C068
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA478

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

Preview Lab → · Contrast checker → · Palette generator →

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