#A4AB38#A4AB38

#A4AB38 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.4% C 0.136 H 112.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#A4AB38
RGBrgb(164, 171, 56)
HSLhsl(64, 51%, 45%)
HSVhsv(64, 67%, 67%)
CMYKcmyk(4.1%, 0%, 67.3%, 32.9%)
CIE-LABlab(67.50, -17.29, 55.80)
CIE-LCHlch(67.50, 58.42, 107.22°)
OKLaboklab(71.39% -0.0526 0.1255)
OKLCHoklch(71.39% 0.136 112.7)
XYZxyz(30.5874, 37.3045, 9.3298)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AB38 #3F38AB
analogous
#AB7938 #A4AB38 #6BAB38
triadic
#A4AB38 #38A4AB #AB38A4
tetradic
#A4AB38 #38AB79 #3F38AB #AB386B
square
#A4AB38 #38AB79 #3F38AB #AB386B
split-complementary
#A4AB38 #386BAB #7938AB
monochromatic
#4C4F1A #787D29 #A4AB38 #C1C858 #D2D786

Accessibility & contrast

On white

2.48
#A4AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#A4AB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AB38
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AB38#FFFFFF#000000##000000
##A4AB381.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A327
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#AFA194
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a4ab38;
/* rgb */ color: rgb(164, 171, 56);
/* oklch */ color: oklch(71.4% 0.136 112.7);
Tailwind
colors: {
  custom: {
    50: '#c2c375',
    500: '#a4ab38',
    950: '#000000',
  },
}
SCSS
$custom: #a4ab38;
$custom-light: #c2c375;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ab38",
  "rgb": {
    "r": 164,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 63.652,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71392,
    "c": 0.13605,
    "h": 112.7
  },
  "luminance": 0.37304
}

Semantic roles & 50–950 ramp

primary
#A4AB38
secondary
#827DC1
accent
#4EDA56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A4AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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