#A6A121#A6A121

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

Color values

HEX#A6A121
RGBrgb(166, 161, 33)
HSLhsl(58, 67%, 39%)
HSVhsv(58, 80%, 65%)
CMYKcmyk(0%, 3%, 80.1%, 34.9%)
CIE-LABlab(64.73, -12.35, 61.30)
CIE-LCHlch(64.73, 62.54, 101.39°)
OKLaboklab(69.17% -0.041 0.1329)
OKLCHoklch(69.17% 0.139 107.2)
XYZxyz(28.7465, 33.7076, 6.4305)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A121 #2126A6
analogous
#A65F21 #A6A121 #69A621
triadic
#A6A121 #21A6A1 #A121A6
tetradic
#A6A121 #21A65F #2126A6 #A62169
square
#A6A121 #21A65F #2126A6 #A62169
split-complementary
#A6A121 #2169A6 #5F21A6
monochromatic
#403E0D #736F17 #A6A121 #D6CF2F #E0DB62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A121#FFFFFF#000000##000000
##A6A1211.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)
#AF9A00
Deuteranopia (green-blind)
#B29F2C
Tritanopia (blue-blind)
#B3968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a121;
/* rgb */ color: rgb(166, 161, 33);
/* oklch */ color: oklch(69.2% 0.139 107.2);
Tailwind
colors: {
  custom: {
    50: '#c4bc69',
    500: '#a6a121',
    950: '#000000',
  },
}
SCSS
$custom: #a6a121;
$custom-light: #c4bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a121",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 57.744,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69172,
    "c": 0.1391,
    "h": 107.2
  },
  "luminance": 0.33707
}

Semantic roles & 50–950 ramp

primary
#A6A121
secondary
#5E62C5
accent
#45EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A121

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

Preview Lab → · Contrast checker → · Palette generator →

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