#A6A22E#A6A22E

#A6A22E is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.133 H 107.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#A6A22E
RGBrgb(166, 162, 46)
HSLhsl(58, 57%, 42%)
HSVhsv(58, 72%, 65%)
CMYKcmyk(0%, 2.4%, 72.3%, 34.9%)
CIE-LABlab(65.08, -12.33, 57.30)
CIE-LCHlch(65.08, 58.61, 102.14°)
OKLaboklab(69.47% -0.0398 0.1268)
OKLCHoklch(69.47% 0.133 107.4)
XYZxyz(29.1405, 34.1459, 7.6401)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A22E #2E32A6
analogous
#A6662E #A6A22E #6EA62E
triadic
#A6A22E #2EA6A2 #A22EA6
tetradic
#A6A22E #2EA666 #2E32A6 #A62E6E
square
#A6A22E #2EA666 #2E32A6 #A62E6E
split-complementary
#A6A22E #2E6EA6 #662EA6
monochromatic
#464413 #767321 #A6A22E #CCC746 #D9D676

Accessibility & contrast

On white

2.68
#A6A22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#A6A22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A22E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A22E#FFFFFF#000000##000000
##A6A22E1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B2978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a22e;
/* rgb */ color: rgb(166, 162, 46);
/* oklch */ color: oklch(69.5% 0.133 107.4);
Tailwind
colors: {
  custom: {
    50: '#c4bd6f',
    500: '#a6a22e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a22e;
$custom-light: #c4bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a22e",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 58,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69472,
    "c": 0.13293,
    "h": 107.4
  },
  "luminance": 0.34145
}

Semantic roles & 50–950 ramp

primary
#A6A22E
secondary
#6F72C1
accent
#4DE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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