#ABA340#ABA340

#ABA340 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.3% C 0.120 H 104.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#ABA340
RGBrgb(171, 163, 64)
HSLhsl(56, 46%, 46%)
HSVhsv(56, 63%, 67%)
CMYKcmyk(0%, 4.7%, 62.6%, 32.9%)
CIE-LABlab(65.92, -9.61, 50.94)
CIE-LCHlch(65.92, 51.83, 100.69°)
OKLaboklab(70.29% -0.0305 0.1162)
OKLCHoklch(70.29% 0.12 104.7)
XYZxyz(30.8183, 35.2236, 10.0249)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA340 #4048AB
analogous
#AB6D40 #ABA340 #7DAB40
triadic
#ABA340 #40ABA3 #A340AB
tetradic
#ABA340 #40AB6D #4048AB #AB407D
square
#ABA340 #40AB6D #4048AB #AB407D
split-complementary
#ABA340 #407DAB #6D40AB
monochromatic
#524E1F #7E792F #ABA340 #C5BD63 #D5D090

Accessibility & contrast

On white

2.61
#ABA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#ABA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA340
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA340#FFFFFF#000000##000000
##ABA3401.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#B7998E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba340;
/* rgb */ color: rgb(171, 163, 64);
/* oklch */ color: oklch(70.3% 0.120 104.7);
Tailwind
colors: {
  custom: {
    50: '#c7be79',
    500: '#aba340',
    950: '#000000',
  },
}
SCSS
$custom: #aba340;
$custom-light: #c7be79;
$custom-dark: #000000;
JSON
{
  "hex": "#aba340",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 55.514,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70292,
    "c": 0.12017,
    "h": 104.7
  },
  "luminance": 0.35222
}

Semantic roles & 50–950 ramp

primary
#ABA340
secondary
#868BC1
accent
#5CD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA340

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

Preview Lab → · Contrast checker → · Palette generator →

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