#A6A623#A6A623

#A6A623 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.143 H 109.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A6A623
RGBrgb(166, 166, 35)
HSLhsl(60, 65%, 39%)
HSVhsv(60, 79%, 65%)
CMYKcmyk(0%, 0%, 78.9%, 34.9%)
CIE-LABlab(66.14, -14.87, 61.96)
CIE-LCHlch(66.14, 63.72, 103.50°)
OKLaboklab(70.3% -0.0479 0.1347)
OKLCHoklch(70.3% 0.143 109.6)
XYZxyz(29.6666, 35.5017, 6.8796)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A623 #2323A6
analogous
#A66523 #A6A623 #65A623
triadic
#A6A623 #23A6A6 #A623A6
tetradic
#A6A623 #23A665 #2323A6 #A62365
square
#A6A623 #23A665 #2323A6 #A62365
split-complementary
#A6A623 #2365A6 #6523A6
monochromatic
#41410E #737318 #A6A623 #D4D432 #DFDF65

Accessibility & contrast

On white

2.59
#A6A623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A6A623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A623
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A623#FFFFFF#000000##000000
##A6A6231.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A32F
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a623;
/* rgb */ color: rgb(166, 166, 35);
/* oklch */ color: oklch(70.3% 0.143 109.6);
Tailwind
colors: {
  custom: {
    50: '#c4c06a',
    500: '#a6a623',
    950: '#000000',
  },
}
SCSS
$custom: #a6a623;
$custom-light: #c4c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a623",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70299,
    "c": 0.14296,
    "h": 109.6
  },
  "luminance": 0.35501
}

Semantic roles & 50–950 ramp

primary
#A6A623
secondary
#6161C4
accent
#40E840
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A623

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

Preview Lab → · Contrast checker → · Palette generator →

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