#ABA640#ABA640

#ABA640 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.123 H 106.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#ABA640
RGBrgb(171, 166, 64)
HSLhsl(57, 46%, 46%)
HSVhsv(57, 63%, 67%)
CMYKcmyk(0%, 2.9%, 62.6%, 32.9%)
CIE-LABlab(66.75, -11.19, 51.83)
CIE-LCHlch(66.75, 53.02, 102.18°)
OKLaboklab(70.95% -0.0349 0.1181)
OKLCHoklch(70.95% 0.123 106.5)
XYZxyz(31.3573, 36.3015, 10.2046)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA640 #4045AB
analogous
#AB7040 #ABA640 #7AAB40
triadic
#ABA640 #40ABA6 #A640AB
tetradic
#ABA640 #40AB70 #4045AB #AB407A
square
#ABA640 #40AB70 #4045AB #AB407A
split-complementary
#ABA640 #407AAB #7040AB
monochromatic
#52501F #7E7B2F #ABA640 #C5C063 #D5D290

Accessibility & contrast

On white

2.54
#ABA640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#ABA640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA640
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA640#FFFFFF#000000##000000
##ABA6401.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B6A446
Tritanopia (blue-blind)
#B79C91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba640;
/* rgb */ color: rgb(171, 166, 64);
/* oklch */ color: oklch(71.0% 0.123 106.5);
Tailwind
colors: {
  custom: {
    50: '#c7c079',
    500: '#aba640',
    950: '#000000',
  },
}
SCSS
$custom: #aba640;
$custom-light: #c7c079;
$custom-dark: #000000;
JSON
{
  "hex": "#aba640",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 57.196,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7095,
    "c": 0.12318,
    "h": 106.5
  },
  "luminance": 0.36301
}

Semantic roles & 50–950 ramp

primary
#ABA640
secondary
#8689C1
accent
#59D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA640

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

Preview Lab → · Contrast checker → · Palette generator →

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