#A6A323#A6A323

#A6A323 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.140 H 108.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A6A323
RGBrgb(166, 163, 35)
HSLhsl(59, 65%, 39%)
HSVhsv(59, 79%, 65%)
CMYKcmyk(0%, 1.8%, 78.9%, 34.9%)
CIE-LABlab(65.30, -13.32, 61.21)
CIE-LCHlch(65.30, 62.64, 102.28°)
OKLaboklab(69.63% -0.0436 0.1331)
OKLCHoklch(69.63% 0.14 108.1)
XYZxyz(29.1276, 34.4237, 6.6999)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A323 #2326A6
analogous
#A66223 #A6A323 #68A623
triadic
#A6A323 #23A6A3 #A323A6
tetradic
#A6A323 #23A662 #2326A6 #A62368
square
#A6A323 #23A662 #2326A6 #A62368
split-complementary
#A6A323 #2368A6 #6223A6
monochromatic
#41400E #737118 #A6A323 #D4D032 #DFDC65

Accessibility & contrast

On white

2.66
#A6A323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A6A323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A323
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A323#FFFFFF#000000##000000
##A6A3231.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02E
Tritanopia (blue-blind)
#B2988B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a323;
/* rgb */ color: rgb(166, 163, 35);
/* oklch */ color: oklch(69.6% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4be6a',
    500: '#a6a323',
    950: '#000000',
  },
}
SCSS
$custom: #a6a323;
$custom-light: #c4be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a323",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 35
  },
  "hsl": {
    "h": 58.626,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69628,
    "c": 0.14004,
    "h": 108.1
  },
  "luminance": 0.34423
}

Semantic roles & 50–950 ramp

primary
#A6A323
secondary
#6163C4
accent
#44E840
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A323

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

Preview Lab → · Contrast checker → · Palette generator →

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