#ABA638#ABA638

#ABA638 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.9% C 0.129 H 106.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#ABA638
RGBrgb(171, 166, 56)
HSLhsl(57, 51%, 45%)
HSVhsv(57, 67%, 67%)
CMYKcmyk(0%, 2.9%, 67.3%, 32.9%)
CIE-LABlab(66.69, -11.69, 55.15)
CIE-LCHlch(66.69, 56.37, 101.97°)
OKLaboklab(70.88% -0.0372 0.1239)
OKLCHoklch(70.88% 0.129 106.7)
XYZxyz(31.1458, 36.2169, 9.0906)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA638 #383DAB
analogous
#AB6C38 #ABA638 #77AB38
triadic
#ABA638 #38ABA6 #A638AB
tetradic
#ABA638 #38AB6C #383DAB #AB3877
square
#ABA638 #38AB6C #383DAB #AB3877
split-complementary
#ABA638 #3877AB #6C38AB
monochromatic
#4F4C1A #7D7929 #ABA638 #C8C358 #D7D486

Accessibility & contrast

On white

2.55
#ABA638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#ABA638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA638
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA638#FFFFFF#000000##000000
##ABA6381.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A028
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#B79B90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba638;
/* rgb */ color: rgb(171, 166, 56);
/* oklch */ color: oklch(70.9% 0.129 106.7);
Tailwind
colors: {
  custom: {
    50: '#c7c075',
    500: '#aba638',
    950: '#000000',
  },
}
SCSS
$custom: #aba638;
$custom-light: #c7c075;
$custom-dark: #000000;
JSON
{
  "hex": "#aba638",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 57.391,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.12937,
    "h": 106.7
  },
  "luminance": 0.36216
}

Semantic roles & 50–950 ramp

primary
#ABA638
secondary
#7D80C1
accent
#54DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA638

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

Preview Lab → · Contrast checker → · Palette generator →

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