#ABA438#ABA438

#ABA438 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.127 H 105.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#ABA438
RGBrgb(171, 164, 56)
HSLhsl(56, 51%, 45%)
HSVhsv(56, 67%, 67%)
CMYKcmyk(0%, 4.1%, 67.3%, 32.9%)
CIE-LABlab(66.13, -10.64, 54.58)
CIE-LCHlch(66.13, 55.61, 101.03°)
OKLaboklab(70.44% -0.0343 0.1227)
OKLCHoklch(70.44% 0.127 105.6)
XYZxyz(30.7850, 35.4955, 8.9703)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA438 #383FAB
analogous
#AB6B38 #ABA438 #79AB38
triadic
#ABA438 #38ABA4 #A438AB
tetradic
#ABA438 #38AB6B #383FAB #AB3879
square
#ABA438 #38AB6B #383FAB #AB3879
split-complementary
#ABA438 #3879AB #6B38AB
monochromatic
#4F4C1A #7D7829 #ABA438 #C8C158 #D7D286

Accessibility & contrast

On white

2.59
#ABA438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#ABA438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA438
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA438#FFFFFF#000000##000000
##ABA4381.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#B5A33F
Tritanopia (blue-blind)
#B7998E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba438;
/* rgb */ color: rgb(171, 164, 56);
/* oklch */ color: oklch(70.4% 0.127 105.6);
Tailwind
colors: {
  custom: {
    50: '#c7be75',
    500: '#aba438',
    950: '#000000',
  },
}
SCSS
$custom: #aba438;
$custom-light: #c7be75;
$custom-dark: #000000;
JSON
{
  "hex": "#aba438",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 56.348,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70438,
    "c": 0.1274,
    "h": 105.6
  },
  "luminance": 0.35494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA438

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

Preview Lab → · Contrast checker → · Palette generator →

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