#ABA338#ABA338

#ABA338 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#ABA338
RGBrgb(171, 163, 56)
HSLhsl(56, 51%, 45%)
HSVhsv(56, 67%, 67%)
CMYKcmyk(0%, 4.7%, 67.3%, 32.9%)
CIE-LABlab(65.86, -10.12, 54.30)
CIE-LCHlch(65.86, 55.23, 100.56°)
OKLaboklab(70.22% -0.0328 0.1221)
OKLCHoklch(70.22% 0.126 105)
XYZxyz(30.6068, 35.1390, 8.9109)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA338 #3840AB
analogous
#AB6A38 #ABA338 #7AAB38
triadic
#ABA338 #38ABA3 #A338AB
tetradic
#ABA338 #38AB6A #3840AB #AB387A
square
#ABA338 #38AB6A #3840AB #AB387A
split-complementary
#ABA338 #387AAB #6A38AB
monochromatic
#4F4B1A #7D7729 #ABA338 #C8C058 #D7D286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA338#FFFFFF#000000##000000
##ABA3381.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)
#B19D29
Deuteranopia (green-blind)
#B4A23F
Tritanopia (blue-blind)
#B7988D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba338;
/* rgb */ color: rgb(171, 163, 56);
/* oklch */ color: oklch(70.2% 0.126 105.0);
Tailwind
colors: {
  custom: {
    50: '#c7be75',
    500: '#aba338',
    950: '#000000',
  },
}
SCSS
$custom: #aba338;
$custom-light: #c7be75;
$custom-dark: #000000;
JSON
{
  "hex": "#aba338",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 55.826,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70218,
    "c": 0.12643,
    "h": 105
  },
  "luminance": 0.35138
}

Semantic roles & 50–950 ramp

primary
#ABA338
secondary
#7D82C1
accent
#57DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA338

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

Preview Lab → · Contrast checker → · Palette generator →

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