#ABA86C#ABA86C

#ABA86C is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.080 H 105.8°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#ABA86C
RGBrgb(171, 168, 108)
HSLhsl(57, 27%, 55%)
HSVhsv(57, 37%, 67%)
CMYKcmyk(0%, 1.8%, 36.8%, 32.9%)
CIE-LABlab(67.83, -8.15, 31.41)
CIE-LCHlch(67.83, 32.45, 104.54°)
OKLaboklab(71.99% -0.0218 0.0772)
OKLCHoklch(71.99% 0.08 105.8)
XYZxyz(33.5044, 37.7466, 19.7053)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA86C #6C6FAB
analogous
#AB896C #ABA86C #8FAB6C
triadic
#ABA86C #6CABA8 #A86CAB
tetradic
#ABA86C #6CAB89 #6C6FAB #AB6C8F
square
#ABA86C #6CAB89 #6C6FAB #AB6C8F
split-complementary
#ABA86C #6C8FAB #896CAB
monochromatic
#646239 #8B884F #ABA86C #C1BF93 #D8D6BA

Accessibility & contrast

On white

2.46
#ABA86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#ABA86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA86C
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA86C#FFFFFF#000000##000000
##ABA86C1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A468
Deuteranopia (green-blind)
#B3A76E
Tritanopia (blue-blind)
#B4A199
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba86c;
/* rgb */ color: rgb(171, 168, 108);
/* oklch */ color: oklch(72.0% 0.080 105.8);
Tailwind
colors: {
  custom: {
    50: '#c5c197',
    500: '#aba86c',
    950: '#000000',
  },
}
SCSS
$custom: #aba86c;
$custom-light: #c5c197;
$custom-dark: #000000;
JSON
{
  "hex": "#aba86c",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 108
  },
  "hsl": {
    "h": 57.143,
    "s": 27.273,
    "l": 54.706
  },
  "oklch": {
    "l": 0.71985,
    "c": 0.08024,
    "h": 105.8
  },
  "luminance": 0.37746
}

Semantic roles & 50–950 ramp

primary
#ABA86C
secondary
#ACADC7
accent
#69C464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #ABA86C

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

Preview Lab → · Contrast checker → · Palette generator →

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