#ABA339#ABA339

#ABA339 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.126 H 105.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#ABA339
RGBrgb(171, 163, 57)
HSLhsl(56, 50%, 45%)
HSVhsv(56, 67%, 67%)
CMYKcmyk(0%, 4.7%, 66.7%, 32.9%)
CIE-LABlab(65.86, -10.06, 53.89)
CIE-LCHlch(65.86, 54.82, 100.57°)
OKLaboklab(70.23% -0.0325 0.1214)
OKLCHoklch(70.23% 0.126 105)
XYZxyz(30.6315, 35.1488, 9.0410)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA339 #3941AB
analogous
#AB6A39 #ABA339 #7AAB39
triadic
#ABA339 #39ABA3 #A339AB
tetradic
#ABA339 #39AB6A #3941AB #AB397A
square
#ABA339 #39AB6A #3941AB #AB397A
split-complementary
#ABA339 #397AAB #6A39AB
monochromatic
#4F4B1A #7D772A #ABA339 #C8C059 #D7D187

Accessibility & contrast

On white

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

On black

8.03
#ABA339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA339
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA339#FFFFFF#000000##000000
##ABA3391.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D2B
Deuteranopia (green-blind)
#B4A240
Tritanopia (blue-blind)
#B7988D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba339;
/* rgb */ color: rgb(171, 163, 57);
/* oklch */ color: oklch(70.2% 0.126 105.0);
Tailwind
colors: {
  custom: {
    50: '#c7be75',
    500: '#aba339',
    950: '#000000',
  },
}
SCSS
$custom: #aba339;
$custom-light: #c7be75;
$custom-dark: #000000;
JSON
{
  "hex": "#aba339",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 55.789,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70227,
    "c": 0.12569,
    "h": 105
  },
  "luminance": 0.35148
}

Semantic roles & 50–950 ramp

primary
#ABA339
secondary
#7F83C1
accent
#58DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA339

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

Preview Lab → · Contrast checker → · Palette generator →

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