#A6AB45#A6AB45

#A6AB45 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.7% C 0.125 H 111.8°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#A6AB45
RGBrgb(166, 171, 69)
HSLhsl(63, 43%, 47%)
HSVhsv(63, 60%, 67%)
CMYKcmyk(2.9%, 0%, 59.6%, 32.9%)
CIE-LABlab(67.77, -15.57, 50.59)
CIE-LCHlch(67.77, 52.94, 107.11°)
OKLaboklab(71.68% -0.0465 0.1163)
OKLCHoklch(71.68% 0.125 111.8)
XYZxyz(31.3638, 37.6632, 11.2466)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AB45 #4A45AB
analogous
#AB7D45 #A6AB45 #73AB45
triadic
#A6AB45 #45A6AB #AB45A6
tetradic
#A6AB45 #45AB7D #4A45AB #AB4573
square
#A6AB45 #45AB7D #4A45AB #AB4573
split-complementary
#A6AB45 #4573AB #7D45AB
monochromatic
#515422 #7C7F33 #A6AB45 #BFC36A #D1D596

Accessibility & contrast

On white

2.46
#A6AB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#A6AB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AB45
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AB45#FFFFFF#000000##000000
##A6AB451.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A439
Deuteranopia (green-blind)
#B8A64B
Tritanopia (blue-blind)
#B0A195
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a6ab45;
/* rgb */ color: rgb(166, 171, 69);
/* oklch */ color: oklch(71.7% 0.125 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c37d',
    500: '#a6ab45',
    950: '#000000',
  },
}
SCSS
$custom: #a6ab45;
$custom-light: #c3c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ab45",
  "rgb": {
    "r": 166,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 62.941,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71679,
    "c": 0.12527,
    "h": 111.8
  },
  "luminance": 0.37662
}

Semantic roles & 50–950 ramp

primary
#A6AB45
secondary
#8E8BC0
accent
#56D25C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A6AB45

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

Preview Lab → · Contrast checker → · Palette generator →

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