#ABA12B#ABA12B

#ABA12B is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.133 H 104.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#ABA12B
RGBrgb(171, 161, 43)
HSLhsl(55, 60%, 42%)
HSVhsv(55, 75%, 67%)
CMYKcmyk(0%, 5.8%, 74.9%, 32.9%)
CIE-LABlab(65.22, -9.73, 58.67)
CIE-LCHlch(65.22, 59.47, 99.42°)
OKLaboklab(69.68% -0.0331 0.129)
OKLCHoklch(69.68% 0.133 104.4)
XYZxyz(29.9768, 34.3233, 7.3311)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA12B #2B35AB
analogous
#AB612B #ABA12B #75AB2B
triadic
#ABA12B #2BABA1 #A12BAB
tetradic
#ABA12B #2BAB61 #2B35AB #AB2B75
square
#ABA12B #2BAB61 #2B35AB #AB2B75
split-complementary
#ABA12B #2B75AB #612BAB
monochromatic
#494512 #7A731F #ABA12B #D0C543 #DCD474

Accessibility & contrast

On white

2.67
#ABA12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#ABA12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA12B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA12B#FFFFFF#000000##000000
##ABA12B1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B13
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B8968A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba12b;
/* rgb */ color: rgb(171, 161, 43);
/* oklch */ color: oklch(69.7% 0.133 104.4);
Tailwind
colors: {
  custom: {
    50: '#c8bc6d',
    500: '#aba12b',
    950: '#000000',
  },
}
SCSS
$custom: #aba12b;
$custom-light: #c8bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba12b",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 55.313,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69683,
    "c": 0.13316,
    "h": 104.4
  },
  "luminance": 0.34322
}

Semantic roles & 50–950 ramp

primary
#ABA12B
secondary
#6E75C4
accent
#51E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #ABA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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