#A6B02E#A6B02E

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

Color values

HEX#A6B02E
RGBrgb(166, 176, 46)
HSLhsl(65, 59%, 44%)
HSVhsv(65, 74%, 69%)
CMYKcmyk(5.7%, 0%, 73.9%, 31%)
CIE-LABlab(69.01, -19.50, 61.06)
CIE-LCHlch(69.01, 64.10, 107.71°)
OKLaboklab(72.61% -0.0598 0.1348)
OKLCHoklch(72.61% 0.147 113.9)
XYZxyz(31.7453, 39.3556, 8.5083)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B02E #382EB0
analogous
#B0792E #A6B02E #65B02E
triadic
#A6B02E #2EA6B0 #B02EA6
tetradic
#A6B02E #2EB079 #382EB0 #B02E65
square
#A6B02E #2EB079 #382EB0 #B02E65
split-complementary
#A6B02E #2E65B0 #792EB0
monochromatic
#4A4F15 #787F21 #A6B02E #C6D04B #D5DD7C

Accessibility & contrast

On white

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

On black

8.87
#A6B02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B02E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B02E#FFFFFF#000000##000000
##A6B02E1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b02e;
/* rgb */ color: rgb(166, 176, 46);
/* oklch */ color: oklch(72.6% 0.147 113.9);
Tailwind
colors: {
  custom: {
    50: '#c4c771',
    500: '#a6b02e',
    950: '#000000',
  },
}
SCSS
$custom: #a6b02e;
$custom-light: #c4c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b02e",
  "rgb": {
    "r": 166,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 64.615,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72614,
    "c": 0.14747,
    "h": 113.9
  },
  "luminance": 0.39355
}

Semantic roles & 50–950 ramp

primary
#A6B02E
secondary
#7B75C5
accent
#46E252
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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