#A6A11F#A6A11F

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

Color values

HEX#A6A11F
RGBrgb(166, 161, 31)
HSLhsl(58, 69%, 39%)
HSVhsv(58, 81%, 65%)
CMYKcmyk(0%, 3%, 81.3%, 34.9%)
CIE-LABlab(64.72, -12.42, 61.87)
CIE-LCHlch(64.72, 63.10, 101.35°)
OKLaboklab(69.16% -0.0414 0.1338)
OKLCHoklch(69.16% 0.14 107.2)
XYZxyz(28.7193, 33.6967, 6.2874)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A11F #1F24A6
analogous
#A65D1F #A6A11F #67A61F
triadic
#A6A11F #1FA6A1 #A11FA6
tetradic
#A6A11F #1FA65D #1F24A6 #A61F67
square
#A6A11F #1FA65D #1F24A6 #A61F67
split-complementary
#A6A11F #1F67A6 #5D1FA6
monochromatic
#3F3D0C #726F15 #A6A11F #D7D12B #E1DC5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A11F#FFFFFF#000000##000000
##A6A11F1.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)
#B29F2B
Tritanopia (blue-blind)
#B3968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a11f;
/* rgb */ color: rgb(166, 161, 31);
/* oklch */ color: oklch(69.2% 0.140 107.2);
Tailwind
colors: {
  custom: {
    50: '#c4bc68',
    500: '#a6a11f',
    950: '#000000',
  },
}
SCSS
$custom: #a6a11f;
$custom-light: #c4bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a11f",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 57.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69162,
    "c": 0.14001,
    "h": 107.2
  },
  "luminance": 0.33696
}

Semantic roles & 50–950 ramp

primary
#A6A11F
secondary
#5B5FC5
accent
#43EB3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A11F

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

Preview Lab → · Contrast checker → · Palette generator →

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