#A6B20D#A6B20D

#A6B20D is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.162 H 114.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#A6B20D
RGBrgb(166, 178, 13)
HSLhsl(64, 86%, 37%)
HSVhsv(64, 93%, 70%)
CMYKcmyk(6.7%, 0%, 92.7%, 30.2%)
CIE-LABlab(69.45, -21.52, 69.47)
CIE-LCHlch(69.45, 72.72, 107.21°)
OKLaboklab(72.93% -0.0675 0.1476)
OKLCHoklch(72.93% 0.162 114.6)
XYZxyz(31.7200, 39.9775, 6.4262)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B20D #190DB2
analogous
#B26C0D #A6B20D #53B20D
triadic
#A6B20D #0DA6B2 #B20DA6
tetradic
#A6B20D #0DB26C #190DB2 #B20D53
square
#A6B20D #0DB26C #190DB2 #B20D53
split-complementary
#A6B20D #0D53B2 #6C0DB2
monochromatic
#3C4005 #717909 #A6B20D #DBEB11 #E5F248

Accessibility & contrast

On white

2.33
#A6B20D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#A6B20D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B20D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B20D#FFFFFF#000000##000000
##A6B20D1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A800
Deuteranopia (green-blind)
#BFAB25
Tritanopia (blue-blind)
#B2A797
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b20d;
/* rgb */ color: rgb(166, 178, 13);
/* oklch */ color: oklch(72.9% 0.162 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5c865',
    500: '#a6b20d',
    950: '#000000',
  },
}
SCSS
$custom: #a6b20d;
$custom-light: #c5c865;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b20d",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 13
  },
  "hsl": {
    "h": 64.364,
    "s": 86.387,
    "l": 37.451
  },
  "oklch": {
    "l": 0.72933,
    "c": 0.16231,
    "h": 114.6
  },
  "luminance": 0.39977
}

Semantic roles & 50–950 ramp

primary
#A6B20D
secondary
#5349D2
accent
#2BFD3A
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B20D

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

Preview Lab → · Contrast checker → · Palette generator →

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