#ABA12F#ABA12F

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

Color values

HEX#ABA12F
RGBrgb(171, 161, 47)
HSLhsl(55, 57%, 43%)
HSVhsv(55, 73%, 67%)
CMYKcmyk(0%, 5.8%, 72.5%, 32.9%)
CIE-LABlab(65.24, -9.55, 57.24)
CIE-LCHlch(65.24, 58.03, 99.47°)
OKLaboklab(69.71% -0.0322 0.1267)
OKLCHoklch(69.71% 0.131 104.2)
XYZxyz(30.0538, 34.3541, 7.7367)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA12F #2F39AB
analogous
#AB632F #ABA12F #77AB2F
triadic
#ABA12F #2FABA1 #A12FAB
tetradic
#ABA12F #2FAB63 #2F39AB #AB2F77
square
#ABA12F #2FAB63 #2F39AB #AB2F77
split-complementary
#ABA12F #2F77AB #632FAB
monochromatic
#4B4715 #7B7422 #ABA12F #CDC34A #DAD37A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA12F#FFFFFF#000000##000000
##ABA12F1.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)
#AF9B1B
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B8968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba12f;
/* rgb */ color: rgb(171, 161, 47);
/* oklch */ color: oklch(69.7% 0.131 104.2);
Tailwind
colors: {
  custom: {
    50: '#c7bc6f',
    500: '#aba12f',
    950: '#000000',
  },
}
SCSS
$custom: #aba12f;
$custom-light: #c7bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba12f",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 55.161,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6971,
    "c": 0.13073,
    "h": 104.2
  },
  "luminance": 0.34353
}

Semantic roles & 50–950 ramp

primary
#ABA12F
secondary
#7379C3
accent
#54E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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