#ABA12C#ABA12C

#ABA12C 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.87:1 contrast (WCAG AA passes).

Color values

HEX#ABA12C
RGBrgb(171, 161, 44)
HSLhsl(55, 59%, 42%)
HSVhsv(55, 74%, 67%)
CMYKcmyk(0%, 5.8%, 74.3%, 32.9%)
CIE-LABlab(65.22, -9.69, 58.32)
CIE-LCHlch(65.22, 59.12, 99.43°)
OKLaboklab(69.69% -0.0329 0.1284)
OKLCHoklch(69.69% 0.133 104.4)
XYZxyz(29.9954, 34.3307, 7.4289)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA12C #2C36AB
analogous
#AB622C #ABA12C #75AB2C
triadic
#ABA12C #2CABA1 #A12CAB
tetradic
#ABA12C #2CAB62 #2C36AB #AB2C75
square
#ABA12C #2CAB62 #2C36AB #AB2C75
split-complementary
#ABA12C #2C75AB #622CAB
monochromatic
#4A4513 #7A731F #ABA12C #CFC445 #DCD476

Accessibility & contrast

On white

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

On black

7.87
#ABA12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA12C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA12C#FFFFFF#000000##000000
##ABA12C1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba12c;
/* rgb */ color: rgb(171, 161, 44);
/* oklch */ color: oklch(69.7% 0.133 104.4);
Tailwind
colors: {
  custom: {
    50: '#c8bc6e',
    500: '#aba12c',
    950: '#000000',
  },
}
SCSS
$custom: #aba12c;
$custom-light: #c8bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba12c",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 55.276,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69689,
    "c": 0.13258,
    "h": 104.4
  },
  "luminance": 0.3433
}

Semantic roles & 50–950 ramp

primary
#ABA12C
secondary
#6F76C3
accent
#52E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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