#A6A026#A6A026

#A6A026 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.136 H 106.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A6A026
RGBrgb(166, 160, 38)
HSLhsl(57, 63%, 40%)
HSVhsv(57, 77%, 65%)
CMYKcmyk(0%, 3.6%, 77.1%, 34.9%)
CIE-LABlab(64.48, -11.64, 59.52)
CIE-LCHlch(64.48, 60.65, 101.06°)
OKLaboklab(68.98% -0.0386 0.1301)
OKLCHoklch(68.98% 0.136 106.5)
XYZxyz(28.6477, 33.3896, 6.7692)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A026 #262CA6
analogous
#A66026 #A6A026 #6CA626
triadic
#A6A026 #26A6A0 #A026A6
tetradic
#A6A026 #26A660 #262CA6 #A6266C
square
#A6A026 #26A660 #262CA6 #A6266C
split-complementary
#A6A026 #266CA6 #6026A6
monochromatic
#42400F #74701B #A6A026 #D1CA38 #DDD76A

Accessibility & contrast

On white

2.74
#A6A026 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A6A026 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A026
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A026#FFFFFF#000000##000000
##A6A0261.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A07
Deuteranopia (green-blind)
#B19E30
Tritanopia (blue-blind)
#B39589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a026;
/* rgb */ color: rgb(166, 160, 38);
/* oklch */ color: oklch(69.0% 0.136 106.5);
Tailwind
colors: {
  custom: {
    50: '#c4bb6b',
    500: '#a6a026',
    950: '#000000',
  },
}
SCSS
$custom: #a6a026;
$custom-light: #c4bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a026",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 57.188,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.68976,
    "c": 0.13566,
    "h": 106.5
  },
  "luminance": 0.33389
}

Semantic roles & 50–950 ramp

primary
#A6A026
secondary
#6569C3
accent
#4AE642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A026

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

Preview Lab → · Contrast checker → · Palette generator →

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