#ABA32F#ABA32F

#ABA32F is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.133 H 105.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#ABA32F
RGBrgb(171, 163, 47)
HSLhsl(56, 57%, 43%)
HSVhsv(56, 73%, 67%)
CMYKcmyk(0%, 4.7%, 72.5%, 32.9%)
CIE-LABlab(65.79, -10.60, 57.77)
CIE-LCHlch(65.79, 58.73, 100.40°)
OKLaboklab(70.15% -0.0351 0.1278)
OKLCHoklch(70.15% 0.133 105.4)
XYZxyz(30.4061, 35.0587, 7.8541)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA32F #2F37AB
analogous
#AB652F #ABA32F #75AB2F
triadic
#ABA32F #2FABA3 #A32FAB
tetradic
#ABA32F #2FAB65 #2F37AB #AB2F75
square
#ABA32F #2FAB65 #2F37AB #AB2F75
split-complementary
#ABA32F #2F75AB #652FAB
monochromatic
#4B4715 #7B7522 #ABA32F #CDC54A #DAD47A

Accessibility & contrast

On white

2.62
#ABA32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#ABA32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA32F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA32F#FFFFFF#000000##000000
##ABA32F1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1B
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#B8988C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba32f;
/* rgb */ color: rgb(171, 163, 47);
/* oklch */ color: oklch(70.1% 0.133 105.4);
Tailwind
colors: {
  custom: {
    50: '#c7bd70',
    500: '#aba32f',
    950: '#000000',
  },
}
SCSS
$custom: #aba32f;
$custom-light: #c7bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#aba32f",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 56.129,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70149,
    "c": 0.13258,
    "h": 105.4
  },
  "luminance": 0.35058
}

Semantic roles & 50–950 ramp

primary
#ABA32F
secondary
#7378C3
accent
#51E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA32F

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

Preview Lab → · Contrast checker → · Palette generator →

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