#ABA12D#ABA12D

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

Color values

HEX#ABA12D
RGBrgb(171, 161, 45)
HSLhsl(55, 58%, 42%)
HSVhsv(55, 74%, 67%)
CMYKcmyk(0%, 5.8%, 73.7%, 32.9%)
CIE-LABlab(65.23, -9.64, 57.96)
CIE-LCHlch(65.23, 58.76, 99.45°)
OKLaboklab(69.7% -0.0326 0.1279)
OKLCHoklch(69.7% 0.132 104.3)
XYZxyz(30.0144, 34.3383, 7.5291)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA12D #2D37AB
analogous
#AB622D #ABA12D #76AB2D
triadic
#ABA12D #2DABA1 #A12DAB
tetradic
#ABA12D #2DAB62 #2D37AB #AB2D76
square
#ABA12D #2DAB62 #2D37AB #AB2D76
split-complementary
#ABA12D #2D76AB #622DAB
monochromatic
#4A4614 #7B7320 #ABA12D #CEC447 #DBD377

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA12D#FFFFFF#000000##000000
##ABA12D1.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)
#B09B18
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#B8968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba12d;
/* rgb */ color: rgb(171, 161, 45);
/* oklch */ color: oklch(69.7% 0.132 104.3);
Tailwind
colors: {
  custom: {
    50: '#c8bc6e',
    500: '#aba12d',
    950: '#000000',
  },
}
SCSS
$custom: #aba12d;
$custom-light: #c8bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba12d",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 55.238,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69696,
    "c": 0.13198,
    "h": 104.3
  },
  "luminance": 0.34337
}

Semantic roles & 50–950 ramp

primary
#ABA12D
secondary
#7177C3
accent
#53E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #ABA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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