#ABA740#ABA740

#ABA740 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.2% C 0.124 H 107.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#ABA740
RGBrgb(171, 167, 64)
HSLhsl(58, 46%, 46%)
HSVhsv(58, 63%, 67%)
CMYKcmyk(0%, 2.3%, 62.6%, 32.9%)
CIE-LABlab(67.03, -11.71, 52.12)
CIE-LCHlch(67.03, 53.42, 102.66°)
OKLaboklab(71.17% -0.0364 0.1188)
OKLCHoklch(71.17% 0.124 107.1)
XYZxyz(31.5398, 36.6665, 10.2654)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA740 #4044AB
analogous
#AB7140 #ABA740 #79AB40
triadic
#ABA740 #40ABA7 #A740AB
tetradic
#ABA740 #40AB71 #4044AB #AB4079
square
#ABA740 #40AB71 #4044AB #AB4079
split-complementary
#ABA740 #4079AB #7140AB
monochromatic
#52501F #7E7C2F #ABA740 #C5C163 #D5D390

Accessibility & contrast

On white

2.52
#ABA740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#ABA740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA740
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA740#FFFFFF#000000##000000
##ABA7401.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A134
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#B79D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba740;
/* rgb */ color: rgb(171, 167, 64);
/* oklch */ color: oklch(71.2% 0.124 107.1);
Tailwind
colors: {
  custom: {
    50: '#c7c07a',
    500: '#aba740',
    950: '#000000',
  },
}
SCSS
$custom: #aba740;
$custom-light: #c7c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba740",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 57.757,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7117,
    "c": 0.12421,
    "h": 107.1
  },
  "luminance": 0.36666
}

Semantic roles & 50–950 ramp

primary
#ABA740
secondary
#8688C1
accent
#57D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA740

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

Preview Lab → · Contrast checker → · Palette generator →

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