#A3AB1F#A3AB1F

#A3AB1F is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.151 H 113.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A3AB1F
RGBrgb(163, 171, 31)
HSLhsl(63, 69%, 40%)
HSVhsv(63, 82%, 67%)
CMYKcmyk(4.7%, 0%, 81.9%, 32.9%)
CIE-LABlab(67.29, -18.88, 64.00)
CIE-LCHlch(67.29, 66.72, 106.44°)
OKLaboklab(71.15% -0.0591 0.1385)
OKLCHoklch(71.15% 0.151 113.1)
XYZxyz(29.9155, 37.0120, 6.8642)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AB1F #271FAB
analogous
#AB6D1F #A3AB1F #5DAB1F
triadic
#A3AB1F #1FA3AB #AB1FA3
tetradic
#A3AB1F #1FAB6D #271FAB #AB1F5D
square
#A3AB1F #1FAB6D #271FAB #AB1F5D
split-complementary
#A3AB1F #1F5DAB #6D1FAB
monochromatic
#40430C #727716 #A3AB1F #CFD92E #DBE362

Accessibility & contrast

On white

2.50
#A3AB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A3AB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AB1F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AB1F#FFFFFF#000000##000000
##A3AB1F1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#AFA092
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a3ab1f;
/* rgb */ color: rgb(163, 171, 31);
/* oklch */ color: oklch(71.2% 0.151 113.1);
Tailwind
colors: {
  custom: {
    50: '#c2c369',
    500: '#a3ab1f',
    950: '#000000',
  },
}
SCSS
$custom: #a3ab1f;
$custom-light: #c2c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a3ab1f",
  "rgb": {
    "r": 163,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 63.429,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.71153,
    "c": 0.15058,
    "h": 113.1
  },
  "luminance": 0.37011
}

Semantic roles & 50–950 ramp

primary
#A3AB1F
secondary
#645EC7
accent
#3CEC46
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A3AB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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