#A6AB28#A6AB28

#A6AB28 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.145 H 111.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#A6AB28
RGBrgb(166, 171, 40)
HSLhsl(62, 62%, 41%)
HSVhsv(62, 77%, 67%)
CMYKcmyk(2.9%, 0%, 76.6%, 32.9%)
CIE-LABlab(67.57, -17.24, 61.70)
CIE-LCHlch(67.57, 64.07, 105.61°)
OKLaboklab(71.45% -0.0541 0.1351)
OKLCHoklch(71.45% 0.146 111.8)
XYZxyz(30.6728, 37.3868, 7.6077)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AB28 #2D28AB
analogous
#AB6F28 #A6AB28 #65AB28
triadic
#A6AB28 #28A6AB #AB28A6
tetradic
#A6AB28 #28AB6F #2D28AB #AB2865
square
#A6AB28 #28AB6F #2D28AB #AB2865
split-complementary
#A6AB28 #2865AB #6F28AB
monochromatic
#464811 #76791C #A6AB28 #CCD23E #D9DE70

Accessibility & contrast

On white

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

On black

8.48
#A6AB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AB28
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AB28#FFFFFF#000000##000000
##A6AB281.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A304
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#B2A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ab28;
/* rgb */ color: rgb(166, 171, 40);
/* oklch */ color: oklch(71.4% 0.145 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c36d',
    500: '#a6ab28',
    950: '#000000',
  },
}
SCSS
$custom: #a6ab28;
$custom-light: #c4c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ab28",
  "rgb": {
    "r": 166,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 62.29,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71449,
    "c": 0.1455,
    "h": 111.8
  },
  "luminance": 0.37386
}

Semantic roles & 50–950 ramp

primary
#A6AB28
secondary
#6E6AC4
accent
#43E549
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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