#A6A022#A6A022

#A6A022 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.138 H 106.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A6A022
RGBrgb(166, 160, 34)
HSLhsl(57, 66%, 39%)
HSVhsv(57, 80%, 65%)
CMYKcmyk(0%, 3.6%, 79.5%, 34.9%)
CIE-LABlab(64.46, -11.79, 60.76)
CIE-LCHlch(64.46, 61.90, 100.98°)
OKLaboklab(68.96% -0.0394 0.1319)
OKLCHoklch(68.96% 0.138 106.6)
XYZxyz(28.5866, 33.3652, 6.4474)
Luminance0.3336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A022 #2228A6
analogous
#A65E22 #A6A022 #6AA622
triadic
#A6A022 #22A6A0 #A022A6
tetradic
#A6A022 #22A65E #2228A6 #A6226A
square
#A6A022 #22A65E #2228A6 #A6226A
split-complementary
#A6A022 #226AA6 #5E22A6
monochromatic
#403E0D #736F18 #A6A022 #D5CD30 #DFD963

Accessibility & contrast

On white

2.74
#A6A022 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A6A022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A022
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A022#FFFFFF#000000##000000
##A6A0221.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#B39589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a022;
/* rgb */ color: rgb(166, 160, 34);
/* oklch */ color: oklch(69.0% 0.138 106.6);
Tailwind
colors: {
  custom: {
    50: '#c4bb69',
    500: '#a6a022',
    950: '#000000',
  },
}
SCSS
$custom: #a6a022;
$custom-light: #c4bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a022",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 57.273,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68955,
    "c": 0.13769,
    "h": 106.6
  },
  "luminance": 0.33364
}

Semantic roles & 50–950 ramp

primary
#A6A022
secondary
#5F64C4
accent
#47E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A022

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

Preview Lab → · Contrast checker → · Palette generator →

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