#ABA040#ABA040

#ABA040 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.6% C 0.117 H 102.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#ABA040
RGBrgb(171, 160, 64)
HSLhsl(54, 46%, 46%)
HSVhsv(54, 63%, 67%)
CMYKcmyk(0%, 6.4%, 62.6%, 32.9%)
CIE-LABlab(65.10, -8.03, 50.04)
CIE-LCHlch(65.10, 50.68, 99.11°)
OKLaboklab(69.64% -0.026 0.1144)
OKLCHoklch(69.64% 0.117 102.8)
XYZxyz(30.2919, 34.1709, 9.8495)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA040 #404BAB
analogous
#AB6A40 #ABA040 #80AB40
triadic
#ABA040 #40ABA0 #A040AB
tetradic
#ABA040 #40AB6A #404BAB #AB4080
square
#ABA040 #40AB6A #404BAB #AB4080
split-complementary
#ABA040 #4080AB #6A40AB
monochromatic
#524D1F #7E762F #ABA040 #C5BB63 #D5CE90

Accessibility & contrast

On white

2.68
#ABA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#ABA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA040
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA040#FFFFFF#000000##000000
##ABA0401.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#B1A045
Tritanopia (blue-blind)
#B7968C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba040;
/* rgb */ color: rgb(171, 160, 64);
/* oklch */ color: oklch(69.6% 0.117 102.8);
Tailwind
colors: {
  custom: {
    50: '#c7bb79',
    500: '#aba040',
    950: '#000000',
  },
}
SCSS
$custom: #aba040;
$custom-light: #c7bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#aba040",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 53.832,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69636,
    "c": 0.11726,
    "h": 102.8
  },
  "luminance": 0.3417
}

Semantic roles & 50–950 ramp

primary
#ABA040
secondary
#868CC1
accent
#60D553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #ABA040

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

Preview Lab → · Contrast checker → · Palette generator →

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