#A6B02A#A6B02A

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

Color values

HEX#A6B02A
RGBrgb(166, 176, 42)
HSLhsl(64, 61%, 43%)
HSVhsv(64, 76%, 69%)
CMYKcmyk(5.7%, 0%, 76.1%, 31%)
CIE-LABlab(68.99, -19.68, 62.37)
CIE-LCHlch(68.99, 65.40, 107.52°)
OKLaboklab(72.59% -0.0607 0.1369)
OKLCHoklch(72.59% 0.15 113.9)
XYZxyz(31.6701, 39.3255, 8.1123)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B02A #342AB0
analogous
#B0772A #A6B02A #63B02A
triadic
#A6B02A #2AA6B0 #B02AA6
tetradic
#A6B02A #2AB077 #342AB0 #B02A63
square
#A6B02A #2AB077 #342AB0 #B02A63
split-complementary
#A6B02A #2A63B0 #772AB0
monochromatic
#494D12 #777F1E #A6B02A #C8D345 #D7DE76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B02A#FFFFFF#000000##000000
##A6B02A1.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)
#BDA707
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#B1A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6b02a;
/* rgb */ color: rgb(166, 176, 42);
/* oklch */ color: oklch(72.6% 0.150 113.9);
Tailwind
colors: {
  custom: {
    50: '#c4c76f',
    500: '#a6b02a',
    950: '#000000',
  },
}
SCSS
$custom: #a6b02a;
$custom-light: #c4c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b02a",
  "rgb": {
    "r": 166,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 64.478,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7259,
    "c": 0.14971,
    "h": 113.9
  },
  "luminance": 0.39325
}

Semantic roles & 50–950 ramp

primary
#A6B02A
secondary
#7670C6
accent
#43E54F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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