#ABA12E#ABA12E

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

Color values

HEX#ABA12E
RGBrgb(171, 161, 46)
HSLhsl(55, 58%, 43%)
HSVhsv(55, 73%, 67%)
CMYKcmyk(0%, 5.8%, 73.1%, 32.9%)
CIE-LABlab(65.24, -9.60, 57.60)
CIE-LCHlch(65.24, 58.40, 99.46°)
OKLaboklab(69.7% -0.0324 0.1273)
OKLCHoklch(69.7% 0.131 104.3)
XYZxyz(30.0339, 34.3461, 7.6317)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA12E #2E38AB
analogous
#AB622E #ABA12E #76AB2E
triadic
#ABA12E #2EABA1 #A12EAB
tetradic
#ABA12E #2EAB62 #2E38AB #AB2E76
square
#ABA12E #2EAB62 #2E38AB #AB2E76
split-complementary
#ABA12E #2E76AB #622EAB
monochromatic
#4B4614 #7B7421 #ABA12E #CEC348 #DBD379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA12E#FFFFFF#000000##000000
##ABA12E1.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)
#B09B19
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#B8968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba12e;
/* rgb */ color: rgb(171, 161, 46);
/* oklch */ color: oklch(69.7% 0.131 104.3);
Tailwind
colors: {
  custom: {
    50: '#c8bc6f',
    500: '#aba12e',
    950: '#000000',
  },
}
SCSS
$custom: #aba12e;
$custom-light: #c8bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba12e",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 55.2,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69703,
    "c": 0.13136,
    "h": 104.3
  },
  "luminance": 0.34345
}

Semantic roles & 50–950 ramp

primary
#ABA12E
secondary
#7278C3
accent
#53E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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