#ABA140#ABA140

#ABA140 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.9% C 0.118 H 103.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#ABA140
RGBrgb(171, 161, 64)
HSLhsl(54, 46%, 46%)
HSVhsv(54, 63%, 67%)
CMYKcmyk(0%, 5.8%, 62.6%, 32.9%)
CIE-LABlab(65.37, -8.56, 50.34)
CIE-LCHlch(65.37, 51.06, 99.65°)
OKLaboklab(69.85% -0.0275 0.115)
OKLCHoklch(69.85% 0.118 103.4)
XYZxyz(30.4660, 34.5190, 9.9075)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA140 #404AAB
analogous
#AB6B40 #ABA140 #7FAB40
triadic
#ABA140 #40ABA1 #A140AB
tetradic
#ABA140 #40AB6B #404AAB #AB407F
square
#ABA140 #40AB6B #404AAB #AB407F
split-complementary
#ABA140 #407FAB #6B40AB
monochromatic
#524D1F #7E772F #ABA140 #C5BC63 #D5CF90

Accessibility & contrast

On white

2.66
#ABA140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#ABA140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA140
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA140#FFFFFF#000000##000000
##ABA1401.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C35
Deuteranopia (green-blind)
#B2A145
Tritanopia (blue-blind)
#B7978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba140;
/* rgb */ color: rgb(171, 161, 64);
/* oklch */ color: oklch(69.9% 0.118 103.4);
Tailwind
colors: {
  custom: {
    50: '#c7bc79',
    500: '#aba140',
    950: '#000000',
  },
}
SCSS
$custom: #aba140;
$custom-light: #c7bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#aba140",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 54.393,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69854,
    "c": 0.11822,
    "h": 103.4
  },
  "luminance": 0.34518
}

Semantic roles & 50–950 ramp

primary
#ABA140
secondary
#868CC1
accent
#5FD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA140

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

Preview Lab → · Contrast checker → · Palette generator →

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