#ABA62A#ABA62A

#ABA62A is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.8% C 0.138 H 107.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#ABA62A
RGBrgb(171, 166, 42)
HSLhsl(58, 61%, 42%)
HSVhsv(58, 75%, 67%)
CMYKcmyk(0%, 2.9%, 75.4%, 32.9%)
CIE-LABlab(66.60, -12.40, 60.30)
CIE-LCHlch(66.60, 61.56, 101.62°)
OKLaboklab(70.78% -0.0406 0.1323)
OKLCHoklch(70.78% 0.138 107.1)
XYZxyz(30.8500, 36.0986, 7.5327)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA62A #2A2FAB
analogous
#AB652A #ABA62A #70AB2A
triadic
#ABA62A #2AABA6 #A62AAB
tetradic
#ABA62A #2AAB65 #2A2FAB #AB2A70
square
#ABA62A #2AAB65 #2A2FAB #AB2A70
split-complementary
#ABA62A #2A70AB #652AAB
monochromatic
#494712 #7A761E #ABA62A #D1CB42 #DDD873

Accessibility & contrast

On white

2.55
#ABA62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#ABA62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA62A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA62A#FFFFFF#000000##000000
##ABA62A1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0E
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B89B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba62a;
/* rgb */ color: rgb(171, 166, 42);
/* oklch */ color: oklch(70.8% 0.138 107.1);
Tailwind
colors: {
  custom: {
    50: '#c8c06e',
    500: '#aba62a',
    950: '#000000',
  },
}
SCSS
$custom: #aba62a;
$custom-light: #c8c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba62a",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 57.674,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70778,
    "c": 0.13838,
    "h": 107.1
  },
  "luminance": 0.36098
}

Semantic roles & 50–950 ramp

primary
#ABA62A
secondary
#6D70C4
accent
#4AE444
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA62A

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

Preview Lab → · Contrast checker → · Palette generator →

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