#ABA938#ABA938

#ABA938 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.5% C 0.132 H 108.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#ABA938
RGBrgb(171, 169, 56)
HSLhsl(59, 51%, 45%)
HSVhsv(59, 67%, 67%)
CMYKcmyk(0%, 1.2%, 67.3%, 32.9%)
CIE-LABlab(67.52, -13.25, 56.00)
CIE-LCHlch(67.52, 57.54, 103.31°)
OKLaboklab(71.54% -0.0416 0.1257)
OKLCHoklch(71.54% 0.132 108.3)
XYZxyz(31.6975, 37.3204, 9.2745)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA938 #383AAB
analogous
#AB7038 #ABA938 #73AB38
triadic
#ABA938 #38ABA9 #A938AB
tetradic
#ABA938 #38AB70 #383AAB #AB3873
square
#ABA938 #38AB70 #383AAB #AB3873
split-complementary
#ABA938 #3873AB #7038AB
monochromatic
#4F4E1A #7D7B29 #ABA938 #C8C658 #D7D686

Accessibility & contrast

On white

2.48
#ABA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#ABA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA938
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA938#FFFFFF#000000##000000
##ABA9381.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#B79E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba938;
/* rgb */ color: rgb(171, 169, 56);
/* oklch */ color: oklch(71.5% 0.132 108.3);
Tailwind
colors: {
  custom: {
    50: '#c7c275',
    500: '#aba938',
    950: '#000000',
  },
}
SCSS
$custom: #aba938;
$custom-light: #c7c275;
$custom-dark: #000000;
JSON
{
  "hex": "#aba938",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 58.957,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71541,
    "c": 0.1324,
    "h": 108.3
  },
  "luminance": 0.37319
}

Semantic roles & 50–950 ramp

primary
#ABA938
secondary
#7D7FC1
accent
#50DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA938

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

Preview Lab → · Contrast checker → · Palette generator →

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