#A4AB1F#A4AB1F

#A4AB1F is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.2% C 0.150 H 112.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A4AB1F
RGBrgb(164, 171, 31)
HSLhsl(63, 69%, 40%)
HSVhsv(63, 82%, 67%)
CMYKcmyk(4.1%, 0%, 81.9%, 32.9%)
CIE-LABlab(67.37, -18.44, 64.10)
CIE-LCHlch(67.37, 66.70, 106.05°)
OKLaboklab(71.24% -0.058 0.1387)
OKLCHoklch(71.24% 0.15 112.7)
XYZxyz(30.1211, 37.1180, 6.8738)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AB1F #261FAB
analogous
#AB6C1F #A4AB1F #5EAB1F
triadic
#A4AB1F #1FA4AB #AB1FA4
tetradic
#A4AB1F #1FAB6C #261FAB #AB1F5E
square
#A4AB1F #1FAB6C #261FAB #AB1F5E
split-complementary
#A4AB1F #1F5EAB #6C1FAB
monochromatic
#41430C #727716 #A4AB1F #D1D92E #DCE362

Accessibility & contrast

On white

2.49
#A4AB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A4AB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AB1F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AB1F#FFFFFF#000000##000000
##A4AB1F1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A52D
Tritanopia (blue-blind)
#B0A092
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a4ab1f;
/* rgb */ color: rgb(164, 171, 31);
/* oklch */ color: oklch(71.2% 0.150 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c369',
    500: '#a4ab1f',
    950: '#000000',
  },
}
SCSS
$custom: #a4ab1f;
$custom-light: #c3c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ab1f",
  "rgb": {
    "r": 164,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 63,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.71236,
    "c": 0.15029,
    "h": 112.7
  },
  "luminance": 0.37117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4AB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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