#A6AA26#A6AA26

#A6AA26 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.145 H 111.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A6AA26
RGBrgb(166, 170, 38)
HSLhsl(62, 63%, 41%)
HSVhsv(62, 78%, 67%)
CMYKcmyk(2.4%, 0%, 77.6%, 33.3%)
CIE-LABlab(67.27, -16.81, 62.07)
CIE-LCHlch(67.27, 64.30, 105.16°)
OKLaboklab(71.21% -0.053 0.1355)
OKLCHoklch(71.21% 0.146 111.4)
XYZxyz(30.4515, 36.9972, 7.3704)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA26 #2A26AA
analogous
#AA6C26 #A6AA26 #64AA26
triadic
#A6AA26 #26A6AA #AA26A6
tetradic
#A6AA26 #26AA6C #2A26AA #AA2664
square
#A6AA26 #26AA6C #2A26AA #AA2664
split-complementary
#A6AA26 #2664AA #6C26AA
monochromatic
#444610 #75781B #A6AA26 #CED33A #DBDE6C

Accessibility & contrast

On white

2.50
#A6AA26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A6AA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA26
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA26#FFFFFF#000000##000000
##A6AA261.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#B29F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6aa26;
/* rgb */ color: rgb(166, 170, 38);
/* oklch */ color: oklch(71.2% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c36c',
    500: '#a6aa26',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa26;
$custom-light: #c4c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa26",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 38
  },
  "hsl": {
    "h": 61.818,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71213,
    "c": 0.1455,
    "h": 111.4
  },
  "luminance": 0.36996
}

Semantic roles & 50–950 ramp

primary
#A6AA26
secondary
#6A67C5
accent
#41E646
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AA26

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

Preview Lab → · Contrast checker → · Palette generator →

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