#A6A723#A6A723

#A6A723 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.144 H 110.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A6A723
RGBrgb(166, 167, 35)
HSLhsl(60, 65%, 40%)
HSVhsv(60, 79%, 65%)
CMYKcmyk(0.6%, 0%, 79%, 34.5%)
CIE-LABlab(66.42, -15.39, 62.21)
CIE-LCHlch(66.42, 64.08, 103.89°)
OKLaboklab(70.52% -0.0493 0.1352)
OKLCHoklch(70.52% 0.144 110)
XYZxyz(29.8491, 35.8667, 6.9404)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A723 #2423A7
analogous
#A76623 #A6A723 #64A723
triadic
#A6A723 #23A6A7 #A723A6
tetradic
#A6A723 #23A766 #2423A7 #A72364
square
#A6A723 #23A766 #2423A7 #A72364
split-complementary
#A6A723 #2364A7 #6623A7
monochromatic
#41420E #747418 #A6A723 #D3D433 #DEDF66

Accessibility & contrast

On white

2.57
#A6A723 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A6A723 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A723
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A723#FFFFFF#000000##000000
##A6A7231.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B29C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a723;
/* rgb */ color: rgb(166, 167, 35);
/* oklch */ color: oklch(70.5% 0.144 110.0);
Tailwind
colors: {
  custom: {
    50: '#c4c06a',
    500: '#a6a723',
    950: '#000000',
  },
}
SCSS
$custom: #a6a723;
$custom-light: #c4c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a723",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 35
  },
  "hsl": {
    "h": 60.455,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.14395,
    "h": 110
  },
  "luminance": 0.35866
}

Semantic roles & 50–950 ramp

primary
#A6A723
secondary
#6261C4
accent
#3FE841
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A723

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

Preview Lab → · Contrast checker → · Palette generator →

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