#ABA336#ABA336

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

Color values

HEX#ABA336
RGBrgb(171, 163, 54)
HSLhsl(56, 52%, 44%)
HSVhsv(56, 68%, 67%)
CMYKcmyk(0%, 4.7%, 68.4%, 32.9%)
CIE-LABlab(65.84, -10.23, 55.10)
CIE-LCHlch(65.84, 56.04, 100.52°)
OKLaboklab(70.2% -0.0333 0.1235)
OKLCHoklch(70.2% 0.128 105.1)
XYZxyz(30.5588, 35.1198, 8.6584)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA336 #363EAB
analogous
#AB6836 #ABA336 #79AB36
triadic
#ABA336 #36ABA3 #A336AB
tetradic
#ABA336 #36AB68 #363EAB #AB3679
square
#ABA336 #36AB68 #363EAB #AB3679
split-complementary
#ABA336 #3679AB #6836AB
monochromatic
#4E4A19 #7C7727 #ABA336 #C9C155 #D8D283

Accessibility & contrast

On white

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

On black

8.02
#ABA336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA336
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA336#FFFFFF#000000##000000
##ABA3361.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D26
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#B8988D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba336;
/* rgb */ color: rgb(171, 163, 54);
/* oklch */ color: oklch(70.2% 0.128 105.1);
Tailwind
colors: {
  custom: {
    50: '#c7be73',
    500: '#aba336',
    950: '#000000',
  },
}
SCSS
$custom: #aba336;
$custom-light: #c7be73;
$custom-dark: #000000;
JSON
{
  "hex": "#aba336",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 55.897,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70202,
    "c": 0.12789,
    "h": 105.1
  },
  "luminance": 0.35119
}

Semantic roles & 50–950 ramp

primary
#ABA336
secondary
#7B80C2
accent
#56DB4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABA336

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

Preview Lab → · Contrast checker → · Palette generator →

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