#A6AA23#A6AA23

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

Color values

HEX#A6AA23
RGBrgb(166, 170, 35)
HSLhsl(62, 66%, 40%)
HSVhsv(62, 79%, 67%)
CMYKcmyk(2.4%, 0%, 79.4%, 33.3%)
CIE-LABlab(67.26, -16.93, 62.96)
CIE-LCHlch(67.26, 65.19, 105.05°)
OKLaboklab(71.2% -0.0536 0.1368)
OKLCHoklch(71.2% 0.147 111.4)
XYZxyz(30.4051, 36.9786, 7.1257)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA23 #2723AA
analogous
#AA6B23 #A6AA23 #62AA23
triadic
#A6AA23 #23A6AA #AA23A6
tetradic
#A6AA23 #23AA6B #2723AA #AA2362
square
#A6AA23 #23AA6B #2723AA #AA2362
split-complementary
#A6AA23 #2362AA #6B23AA
monochromatic
#43440E #747719 #A6AA23 #D1D535 #DCE068

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6AA23#FFFFFF#000000##000000
##A6AA231.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)
#B8A530
Tritanopia (blue-blind)
#B29F91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6aa23;
/* rgb */ color: rgb(166, 170, 35);
/* oklch */ color: oklch(71.2% 0.147 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c36b',
    500: '#a6aa23',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa23;
$custom-light: #c4c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa23",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 61.778,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71197,
    "c": 0.14695,
    "h": 111.4
  },
  "luminance": 0.36978
}

Semantic roles & 50–950 ramp

primary
#A6AA23
secondary
#6663C6
accent
#3FE944
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6AA23

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

Preview Lab → · Contrast checker → · Palette generator →

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