#A6A02E#A6A02E

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

Color values

HEX#A6A02E
RGBrgb(166, 160, 46)
HSLhsl(57, 57%, 42%)
HSVhsv(57, 72%, 65%)
CMYKcmyk(0%, 3.6%, 72.3%, 34.9%)
CIE-LABlab(64.52, -11.28, 56.76)
CIE-LCHlch(64.52, 57.87, 101.24°)
OKLaboklab(69.03% -0.0368 0.1257)
OKLCHoklch(69.03% 0.131 106.3)
XYZxyz(28.7910, 33.4469, 7.5236)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A02E #2E34A6
analogous
#A6642E #A6A02E #70A62E
triadic
#A6A02E #2EA6A0 #A02EA6
tetradic
#A6A02E #2EA664 #2E34A6 #A62E70
square
#A6A02E #2EA664 #2E34A6 #A62E70
split-complementary
#A6A02E #2E70A6 #642EA6
monochromatic
#464413 #767221 #A6A02E #CCC546 #D9D476

Accessibility & contrast

On white

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

On black

7.69
#A6A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A02E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A02E#FFFFFF#000000##000000
##A6A02E1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a02e;
/* rgb */ color: rgb(166, 160, 46);
/* oklch */ color: oklch(69.0% 0.131 106.3);
Tailwind
colors: {
  custom: {
    50: '#c4bb6f',
    500: '#a6a02e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a02e;
$custom-light: #c4bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a02e",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 57,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69028,
    "c": 0.13099,
    "h": 106.3
  },
  "luminance": 0.33446
}

Semantic roles & 50–950 ramp

primary
#A6A02E
secondary
#6F73C1
accent
#50E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A6A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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