#ABA85F#ABA85F

#ABA85F is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.095 H 106.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#ABA85F
RGBrgb(171, 168, 95)
HSLhsl(58, 31%, 52%)
HSVhsv(58, 44%, 67%)
CMYKcmyk(0%, 1.8%, 44.4%, 32.9%)
CIE-LABlab(67.64, -9.59, 37.95)
CIE-LCHlch(67.64, 39.15, 104.19°)
OKLaboklab(71.77% -0.027 0.0913)
OKLCHoklch(71.77% 0.095 106.5)
XYZxyz(32.8634, 37.4902, 16.3294)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA85F #5F62AB
analogous
#AB825F #ABA85F #88AB5F
triadic
#ABA85F #5FABA8 #A85FAB
tetradic
#ABA85F #5FAB82 #5F62AB #AB5F88
square
#ABA85F #5FAB82 #5F62AB #AB5F88
split-complementary
#ABA85F #5F88AB #825FAB
monochromatic
#5E5C31 #868447 #ABA85F #C0BE87 #D5D4AF

Accessibility & contrast

On white

2.47
#ABA85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#ABA85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA85F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA85F#FFFFFF#000000##000000
##ABA85F1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A359
Deuteranopia (green-blind)
#B5A662
Tritanopia (blue-blind)
#B5A097
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aba85f;
/* rgb */ color: rgb(171, 168, 95);
/* oklch */ color: oklch(71.8% 0.095 106.5);
Tailwind
colors: {
  custom: {
    50: '#c5c18e',
    500: '#aba85f',
    950: '#000000',
  },
}
SCSS
$custom: #aba85f;
$custom-light: #c5c18e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba85f",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 95
  },
  "hsl": {
    "h": 57.632,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71772,
    "c": 0.09525,
    "h": 106.5
  },
  "luminance": 0.37489
}

Semantic roles & 50–950 ramp

primary
#ABA85F
secondary
#A2A4C3
accent
#65C760
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA85F

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

Preview Lab → · Contrast checker → · Palette generator →

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