#A6A13D#A6A13D

#A6A13D is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.121 H 106.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A6A13D
RGBrgb(166, 161, 61)
HSLhsl(57, 46%, 45%)
HSVhsv(57, 63%, 65%)
CMYKcmyk(0%, 3%, 63.3%, 34.9%)
CIE-LABlab(64.91, -10.93, 51.05)
CIE-LCHlch(64.91, 52.20, 102.09°)
OKLaboklab(69.37% -0.0343 0.1162)
OKLCHoklch(69.37% 0.121 106.4)
XYZxyz(29.3141, 33.9346, 9.4199)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A13D #3D42A6
analogous
#A66D3D #A6A13D #77A63D
triadic
#A6A13D #3DA6A1 #A13DA6
tetradic
#A6A13D #3DA66D #3D42A6 #A63D77
square
#A6A13D #3DA66D #3D42A6 #A63D77
split-complementary
#A6A13D #3D77A6 #6D3DA6
monochromatic
#4C4A1C #79762D #A6A13D #C3BF5D #D4D08A

Accessibility & contrast

On white

2.70
#A6A13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A6A13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A13D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A13D#FFFFFF#000000##000000
##A6A13D1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B31
Deuteranopia (green-blind)
#B09F43
Tritanopia (blue-blind)
#B2978C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a13d;
/* rgb */ color: rgb(166, 161, 61);
/* oklch */ color: oklch(69.4% 0.121 106.4);
Tailwind
colors: {
  custom: {
    50: '#c3bc77',
    500: '#a6a13d',
    950: '#000000',
  },
}
SCSS
$custom: #a6a13d;
$custom-light: #c3bc77;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a13d",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 61
  },
  "hsl": {
    "h": 57.143,
    "s": 46.256,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69374,
    "c": 0.12111,
    "h": 106.4
  },
  "luminance": 0.33934
}

Semantic roles & 50–950 ramp

primary
#A6A13D
secondary
#8083BE
accent
#58D652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A6A13D

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

Preview Lab → · Contrast checker → · Palette generator →

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