#A6A02B#A6A02B

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

Color values

HEX#A6A02B
RGBrgb(166, 160, 43)
HSLhsl(57, 59%, 41%)
HSVhsv(57, 74%, 65%)
CMYKcmyk(0%, 3.6%, 74.1%, 34.9%)
CIE-LABlab(64.50, -11.42, 57.84)
CIE-LCHlch(64.50, 58.95, 101.17°)
OKLaboklab(69.01% -0.0375 0.1274)
OKLCHoklch(69.01% 0.133 106.4)
XYZxyz(28.7339, 33.4241, 7.2229)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A02B #2B31A6
analogous
#A6622B #A6A02B #6EA62B
triadic
#A6A02B #2BA6A0 #A02BA6
tetradic
#A6A02B #2BA662 #2B31A6 #A62B6E
square
#A6A02B #2BA662 #2B31A6 #A62B6E
split-complementary
#A6A02B #2B6EA6 #622BA6
monochromatic
#454212 #75711E #A6A02B #CEC741 #DAD571

Accessibility & contrast

On white

2.73
#A6A02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A02B#FFFFFF#000000##000000
##A6A02B1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#B2958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a02b;
/* rgb */ color: rgb(166, 160, 43);
/* oklch */ color: oklch(69.0% 0.133 106.4);
Tailwind
colors: {
  custom: {
    50: '#c4bb6d',
    500: '#a6a02b',
    950: '#000000',
  },
}
SCSS
$custom: #a6a02b;
$custom-light: #c4bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a02b",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 57.073,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69007,
    "c": 0.13283,
    "h": 106.4
  },
  "luminance": 0.33423
}

Semantic roles & 50–950 ramp

primary
#A6A02B
secondary
#6B70C1
accent
#4DE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A6A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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