#A6A726#A6A726

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

Color values

HEX#A6A726
RGBrgb(166, 167, 38)
HSLhsl(60, 63%, 40%)
HSVhsv(60, 77%, 65%)
CMYKcmyk(0.6%, 0%, 77.2%, 34.5%)
CIE-LABlab(66.43, -15.27, 61.30)
CIE-LCHlch(66.43, 63.18, 103.99°)
OKLaboklab(70.54% -0.0488 0.1339)
OKLCHoklch(70.54% 0.142 110)
XYZxyz(29.8956, 35.8852, 7.1851)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A726 #2726A7
analogous
#A76726 #A6A726 #66A726
triadic
#A6A726 #26A6A7 #A726A6
tetradic
#A6A726 #26A767 #2726A7 #A72666
square
#A6A726 #26A767 #2726A7 #A72666
split-complementary
#A6A726 #2666A7 #6726A7
monochromatic
#43430F #74751B #A6A726 #D1D238 #DCDD6A

Accessibility & contrast

On white

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

On black

8.18
#A6A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A726
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A726#FFFFFF#000000##000000
##A6A7261.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a726;
/* rgb */ color: rgb(166, 167, 38);
/* oklch */ color: oklch(70.5% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#c4c06c',
    500: '#a6a726',
    950: '#000000',
  },
}
SCSS
$custom: #a6a726;
$custom-light: #c4c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a726",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 60.465,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70539,
    "c": 0.14246,
    "h": 110
  },
  "luminance": 0.35884
}

Semantic roles & 50–950 ramp

primary
#A6A726
secondary
#6665C3
accent
#42E643
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A726

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

Preview Lab → · Contrast checker → · Palette generator →

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