#A6B026#A6B026

#A6B026 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.152 H 113.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#A6B026
RGBrgb(166, 176, 38)
HSLhsl(64, 64%, 42%)
HSVhsv(64, 78%, 69%)
CMYKcmyk(5.7%, 0%, 78.4%, 31%)
CIE-LABlab(68.97, -19.85, 63.60)
CIE-LCHlch(68.97, 66.62, 107.33°)
OKLaboklab(72.57% -0.0615 0.1387)
OKLCHoklch(72.57% 0.152 113.9)
XYZxyz(31.6021, 39.2983, 7.7539)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B026 #3026B0
analogous
#B07526 #A6B026 #61B026
triadic
#A6B026 #26A6B0 #B026A6
tetradic
#A6B026 #26B075 #3026B0 #B02661
square
#A6B026 #26B075 #3026B0 #B02661
split-complementary
#A6B026 #2661B0 #7526B0
monochromatic
#474B10 #777E1B #A6B026 #CAD53E #D8E070

Accessibility & contrast

On white

2.37
#A6B026 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#A6B026 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B026
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B026#FFFFFF#000000##000000
##A6B0261.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#B1A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6b026;
/* rgb */ color: rgb(166, 176, 38);
/* oklch */ color: oklch(72.6% 0.152 113.9);
Tailwind
colors: {
  custom: {
    50: '#c4c76d',
    500: '#a6b026',
    950: '#000000',
  },
}
SCSS
$custom: #a6b026;
$custom-light: #c4c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b026",
  "rgb": {
    "r": 166,
    "g": 176,
    "b": 38
  },
  "hsl": {
    "h": 64.348,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72568,
    "c": 0.15174,
    "h": 113.9
  },
  "luminance": 0.39298
}

Semantic roles & 50–950 ramp

primary
#A6B026
secondary
#716BC7
accent
#40E74C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6B026

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

Preview Lab → · Contrast checker → · Palette generator →

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