#A6A13A#A6A13A

#A6A13A is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.123 H 106.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A6A13A
RGBrgb(166, 161, 58)
HSLhsl(57, 48%, 44%)
HSVhsv(57, 65%, 65%)
CMYKcmyk(0%, 3%, 65.1%, 34.9%)
CIE-LABlab(64.89, -11.13, 52.32)
CIE-LCHlch(64.89, 53.49, 102.01°)
OKLaboklab(69.35% -0.0351 0.1184)
OKLCHoklch(69.35% 0.123 106.5)
XYZxyz(29.2355, 33.9032, 9.0061)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A13A #3A3FA6
analogous
#A66B3A #A6A13A #75A63A
triadic
#A6A13A #3AA6A1 #A13AA6
tetradic
#A6A13A #3AA66B #3A3FA6 #A63A75
square
#A6A13A #3AA66B #3A3FA6 #A63A75
split-complementary
#A6A13A #3A75A6 #6B3AA6
monochromatic
#4B491A #79752A #A6A13A #C5C058 #D5D186

Accessibility & contrast

On white

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

On black

7.78
#A6A13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A13A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A13A#FFFFFF#000000##000000
##A6A13A1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a13a;
/* rgb */ color: rgb(166, 161, 58);
/* oklch */ color: oklch(69.3% 0.123 106.5);
Tailwind
colors: {
  custom: {
    50: '#c3bc75',
    500: '#a6a13a',
    950: '#000000',
  },
}
SCSS
$custom: #a6a13a;
$custom-light: #c3bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a13a",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 58
  },
  "hsl": {
    "h": 57.222,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69346,
    "c": 0.12349,
    "h": 106.5
  },
  "luminance": 0.33902
}

Semantic roles & 50–950 ramp

primary
#A6A13A
secondary
#7D80BF
accent
#56D850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A6A13A

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

Preview Lab → · Contrast checker → · Palette generator →

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