#ABA82F#ABA82F

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

Color values

HEX#ABA82F
RGBrgb(171, 168, 47)
HSLhsl(59, 57%, 43%)
HSVhsv(59, 73%, 67%)
CMYKcmyk(0%, 1.8%, 72.5%, 32.9%)
CIE-LABlab(67.18, -13.21, 59.10)
CIE-LCHlch(67.18, 60.56, 102.60°)
OKLaboklab(71.25% -0.0424 0.1307)
OKLCHoklch(71.25% 0.137 108)
XYZxyz(31.3115, 36.8695, 8.1559)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA82F #2F32AB
analogous
#AB6A2F #ABA82F #70AB2F
triadic
#ABA82F #2FABA8 #A82FAB
tetradic
#ABA82F #2FAB6A #2F32AB #AB2F70
square
#ABA82F #2FAB6A #2F32AB #AB2F70
split-complementary
#ABA82F #2F70AB #6A2FAB
monochromatic
#4B4A15 #7B7922 #ABA82F #CDCA4A #DAD87A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA82F#FFFFFF#000000##000000
##ABA82F1.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)
#B6A119
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#B79D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba82f;
/* rgb */ color: rgb(171, 168, 47);
/* oklch */ color: oklch(71.3% 0.137 108.0);
Tailwind
colors: {
  custom: {
    50: '#c7c170',
    500: '#aba82f',
    950: '#000000',
  },
}
SCSS
$custom: #aba82f;
$custom-light: #c7c170;
$custom-dark: #000000;
JSON
{
  "hex": "#aba82f",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 58.548,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71253,
    "c": 0.13738,
    "h": 108
  },
  "luminance": 0.36868
}

Semantic roles & 50–950 ramp

primary
#ABA82F
secondary
#7375C3
accent
#4BE048
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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