#ABA82E#ABA82E

#ABA82E is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.138 H 108.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#ABA82E
RGBrgb(171, 168, 46)
HSLhsl(59, 58%, 43%)
HSVhsv(59, 73%, 67%)
CMYKcmyk(0%, 1.8%, 73.1%, 32.9%)
CIE-LABlab(67.17, -13.25, 59.46)
CIE-LCHlch(67.17, 60.92, 102.57°)
OKLaboklab(71.25% -0.0427 0.1312)
OKLCHoklch(71.25% 0.138 108)
XYZxyz(31.2916, 36.8615, 8.0509)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA82E #2E31AB
analogous
#AB692E #ABA82E #6FAB2E
triadic
#ABA82E #2EABA8 #A82EAB
tetradic
#ABA82E #2EAB69 #2E31AB #AB2E6F
square
#ABA82E #2EAB69 #2E31AB #AB2E6F
split-complementary
#ABA82E #2E6FAB #692EAB
monochromatic
#4B4914 #7B7921 #ABA82E #CECB48 #DBD879

Accessibility & contrast

On white

2.51
#ABA82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#ABA82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA82E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA82E#FFFFFF#000000##000000
##ABA82E1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#B79D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba82e;
/* rgb */ color: rgb(171, 168, 46);
/* oklch */ color: oklch(71.2% 0.138 108.0);
Tailwind
colors: {
  custom: {
    50: '#c7c170',
    500: '#aba82e',
    950: '#000000',
  },
}
SCSS
$custom: #aba82e;
$custom-light: #c7c170;
$custom-dark: #000000;
JSON
{
  "hex": "#aba82e",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 58.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71246,
    "c": 0.13799,
    "h": 108
  },
  "luminance": 0.3686
}

Semantic roles & 50–950 ramp

primary
#ABA82E
secondary
#7274C3
accent
#4BE147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA82E

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

Preview Lab → · Contrast checker → · Palette generator →

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