#ABA85B#ABA85B

#ABA85B is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.100 H 106.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#ABA85B
RGBrgb(171, 168, 91)
HSLhsl(58, 32%, 51%)
HSVhsv(58, 47%, 67%)
CMYKcmyk(0%, 1.8%, 46.8%, 32.9%)
CIE-LABlab(67.59, -10.00, 39.93)
CIE-LCHlch(67.59, 41.16, 104.06°)
OKLaboklab(71.71% -0.0286 0.0954)
OKLCHoklch(71.71% 0.1 106.7)
XYZxyz(32.6863, 37.4194, 15.3963)
Luminance0.3742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA85B #5B5EAB
analogous
#AB805B #ABA85B #86AB5B
triadic
#ABA85B #5BABA8 #A85BAB
tetradic
#ABA85B #5BAB80 #5B5EAB #AB5B86
square
#ABA85B #5BAB80 #5B5EAB #AB5B86
split-complementary
#ABA85B #5B86AB #805BAB
monochromatic
#5C5B2F #858244 #ABA85B #C0BD83 #D4D3AC

Accessibility & contrast

On white

2.48
#ABA85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#ABA85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA85B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA85B#FFFFFF#000000##000000
##ABA85B1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A354
Deuteranopia (green-blind)
#B5A65F
Tritanopia (blue-blind)
#B59F96
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba85b;
/* rgb */ color: rgb(171, 168, 91);
/* oklch */ color: oklch(71.7% 0.100 106.7);
Tailwind
colors: {
  custom: {
    50: '#c5c18b',
    500: '#aba85b',
    950: '#000000',
  },
}
SCSS
$custom: #aba85b;
$custom-light: #c5c18b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba85b",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 91
  },
  "hsl": {
    "h": 57.75,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.71713,
    "c": 0.09962,
    "h": 106.7
  },
  "luminance": 0.37419
}

Semantic roles & 50–950 ramp

primary
#ABA85B
secondary
#9FA1C3
accent
#63C85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA85B

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

Preview Lab → · Contrast checker → · Palette generator →

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