#A6A923#A6A923

#A6A923 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.146 H 110.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A6A923
RGBrgb(166, 169, 35)
HSLhsl(61, 66%, 40%)
HSVhsv(61, 79%, 66%)
CMYKcmyk(1.8%, 0%, 79.3%, 33.7%)
CIE-LABlab(66.98, -16.41, 62.71)
CIE-LCHlch(66.98, 64.82, 104.67°)
OKLaboklab(70.97% -0.0522 0.1363)
OKLCHoklch(70.97% 0.146 110.9)
XYZxyz(30.2183, 36.6051, 7.0635)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A923 #2623A9
analogous
#A96923 #A6A923 #63A923
triadic
#A6A923 #23A6A9 #A923A6
tetradic
#A6A923 #23A969 #2623A9 #A92363
square
#A6A923 #23A969 #2623A9 #A92363
split-complementary
#A6A923 #2363A9 #6923A9
monochromatic
#42440E #747619 #A6A923 #D1D534 #DDDF67

Accessibility & contrast

On white

2.52
#A6A923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A6A923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A923
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A923#FFFFFF#000000##000000
##A6A9231.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A52F
Tritanopia (blue-blind)
#B29E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a6a923;
/* rgb */ color: rgb(166, 169, 35);
/* oklch */ color: oklch(71.0% 0.146 110.9);
Tailwind
colors: {
  custom: {
    50: '#c4c26b',
    500: '#a6a923',
    950: '#000000',
  },
}
SCSS
$custom: #a6a923;
$custom-light: #c4c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a923",
  "rgb": {
    "r": 166,
    "g": 169,
    "b": 35
  },
  "hsl": {
    "h": 61.343,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.70972,
    "c": 0.14595,
    "h": 110.9
  },
  "luminance": 0.36604
}

Semantic roles & 50–950 ramp

primary
#A6A923
secondary
#6563C5
accent
#3FE943
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A923

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

Preview Lab → · Contrast checker → · Palette generator →

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