#A6AA1E#A6AA1E

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

Color values

HEX#A6AA1E
RGBrgb(166, 170, 30)
HSLhsl(62, 70%, 39%)
HSVhsv(62, 82%, 67%)
CMYKcmyk(2.4%, 0%, 82.4%, 33.3%)
CIE-LABlab(67.24, -17.10, 64.31)
CIE-LCHlch(67.24, 66.55, 104.89°)
OKLaboklab(71.17% -0.0544 0.1389)
OKLCHoklch(71.17% 0.149 111.4)
XYZxyz(30.3361, 36.9510, 6.7623)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA1E #221EAA
analogous
#AA681E #A6AA1E #60AA1E
triadic
#A6AA1E #1EA6AA #AA1EA6
tetradic
#A6AA1E #1EAA68 #221EAA #AA1E60
square
#A6AA1E #1EAA68 #221EAA #AA1E60
split-complementary
#A6AA1E #1E60AA #681EAA
monochromatic
#40420C #737615 #A6AA1E #D5DA2C #DFE360

Accessibility & contrast

On white

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

On black

8.39
#A6AA1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA1E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA1E#FFFFFF#000000##000000
##A6AA1E1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6aa1e;
/* rgb */ color: rgb(166, 170, 30);
/* oklch */ color: oklch(71.2% 0.149 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c369',
    500: '#a6aa1e',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa1e;
$custom-light: #c4c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa1e",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 30
  },
  "hsl": {
    "h": 61.714,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.71174,
    "c": 0.14915,
    "h": 111.4
  },
  "luminance": 0.3695
}

Semantic roles & 50–950 ramp

primary
#A6AA1E
secondary
#5F5CC7
accent
#3BED40
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AA1E

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

Preview Lab → · Contrast checker → · Palette generator →

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