#A6A122#A6A122

#A6A122 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.139 H 107.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A6A122
RGBrgb(166, 161, 34)
HSLhsl(58, 66%, 39%)
HSVhsv(58, 80%, 65%)
CMYKcmyk(0%, 3%, 79.5%, 34.9%)
CIE-LABlab(64.73, -12.31, 61.01)
CIE-LCHlch(64.73, 62.24, 101.41°)
OKLaboklab(69.18% -0.0408 0.1325)
OKLCHoklch(69.18% 0.139 107.1)
XYZxyz(28.7607, 33.7133, 6.5054)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A122 #2227A6
analogous
#A65F22 #A6A122 #69A622
triadic
#A6A122 #22A6A1 #A122A6
tetradic
#A6A122 #22A65F #2227A6 #A62269
square
#A6A122 #22A65F #2227A6 #A62269
split-complementary
#A6A122 #2269A6 #5F22A6
monochromatic
#403E0D #737018 #A6A122 #D5CE30 #DFDA63

Accessibility & contrast

On white

2.71
#A6A122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A6A122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A122
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A122#FFFFFF#000000##000000
##A6A1221.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B00
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#B3968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a122;
/* rgb */ color: rgb(166, 161, 34);
/* oklch */ color: oklch(69.2% 0.139 107.1);
Tailwind
colors: {
  custom: {
    50: '#c4bc69',
    500: '#a6a122',
    950: '#000000',
  },
}
SCSS
$custom: #a6a122;
$custom-light: #c4bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a122",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 57.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69177,
    "c": 0.13863,
    "h": 107.1
  },
  "luminance": 0.33712
}

Semantic roles & 50–950 ramp

primary
#A6A122
secondary
#5F63C4
accent
#45E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A122

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

Preview Lab → · Contrast checker → · Palette generator →

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