#A6AB2C#A6AB2C

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

Color values

HEX#A6AB2C
RGBrgb(166, 171, 44)
HSLhsl(62, 59%, 42%)
HSVhsv(62, 74%, 67%)
CMYKcmyk(2.9%, 0%, 74.3%, 32.9%)
CIE-LABlab(67.59, -17.07, 60.40)
CIE-LCHlch(67.59, 62.77, 105.78°)
OKLaboklab(71.47% -0.0532 0.133)
OKLCHoklch(71.47% 0.143 111.8)
XYZxyz(30.7444, 37.4154, 7.9847)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AB2C #312CAB
analogous
#AB702C #A6AB2C #67AB2C
triadic
#A6AB2C #2CA6AB #AB2CA6
tetradic
#A6AB2C #2CAB70 #312CAB #AB2C67
square
#A6AB2C #2CAB70 #312CAB #AB2C67
split-complementary
#A6AB2C #2C67AB #702CAB
monochromatic
#474A13 #777A1F #A6AB2C #CACF45 #D8DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AB2C#FFFFFF#000000##000000
##A6AB2C1.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)
#B8A311
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#B2A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ab2c;
/* rgb */ color: rgb(166, 171, 44);
/* oklch */ color: oklch(71.5% 0.143 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c36f',
    500: '#a6ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #a6ab2c;
$custom-light: #c4c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ab2c",
  "rgb": {
    "r": 166,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 62.362,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71473,
    "c": 0.14329,
    "h": 111.8
  },
  "luminance": 0.37415
}

Semantic roles & 50–950 ramp

primary
#A6AB2C
secondary
#736FC3
accent
#46E24C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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