#A6A423#A6A423

#A6A423 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.141 H 108.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A6A423
RGBrgb(166, 164, 35)
HSLhsl(59, 65%, 39%)
HSVhsv(59, 79%, 65%)
CMYKcmyk(0%, 1.2%, 78.9%, 34.9%)
CIE-LABlab(65.58, -13.84, 61.46)
CIE-LCHlch(65.58, 63.00, 102.69°)
OKLaboklab(69.85% -0.045 0.1336)
OKLCHoklch(69.85% 0.141 108.6)
XYZxyz(29.3059, 34.7802, 6.7593)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A423 #2325A6
analogous
#A66323 #A6A423 #67A623
triadic
#A6A423 #23A6A4 #A423A6
tetradic
#A6A423 #23A663 #2325A6 #A62367
square
#A6A423 #23A663 #2325A6 #A62367
split-complementary
#A6A423 #2367A6 #6323A6
monochromatic
#41400E #737218 #A6A423 #D4D132 #DFDD65

Accessibility & contrast

On white

2.64
#A6A423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A6A423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A423
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A423#FFFFFF#000000##000000
##A6A4231.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#B2998C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a423;
/* rgb */ color: rgb(166, 164, 35);
/* oklch */ color: oklch(69.9% 0.141 108.6);
Tailwind
colors: {
  custom: {
    50: '#c4be6a',
    500: '#a6a423',
    950: '#000000',
  },
}
SCSS
$custom: #a6a423;
$custom-light: #c4be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a423",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 59.084,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69851,
    "c": 0.14101,
    "h": 108.6
  },
  "luminance": 0.34779
}

Semantic roles & 50–950 ramp

primary
#A6A423
secondary
#6162C4
accent
#42E840
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A423

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

Preview Lab → · Contrast checker → · Palette generator →

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