#A6A02C#A6A02C

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

Color values

HEX#A6A02C
RGBrgb(166, 160, 44)
HSLhsl(57, 58%, 41%)
HSVhsv(57, 73%, 65%)
CMYKcmyk(0%, 3.6%, 73.5%, 34.9%)
CIE-LABlab(64.51, -11.37, 57.48)
CIE-LCHlch(64.51, 58.60, 101.19°)
OKLaboklab(69.01% -0.0373 0.1269)
OKLCHoklch(69.01% 0.132 106.4)
XYZxyz(28.7525, 33.4315, 7.3208)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A02C #2C32A6
analogous
#A6632C #A6A02C #6FA62C
triadic
#A6A02C #2CA6A0 #A02CA6
tetradic
#A6A02C #2CA663 #2C32A6 #A62C6F
square
#A6A02C #2CA663 #2C32A6 #A62C6F
split-complementary
#A6A02C #2C6FA6 #632CA6
monochromatic
#454312 #76711F #A6A02C #CDC642 #DAD573

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A02C#FFFFFF#000000##000000
##A6A02C1.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)
#AE9A16
Deuteranopia (green-blind)
#B09F35
Tritanopia (blue-blind)
#B2958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a02c;
/* rgb */ color: rgb(166, 160, 44);
/* oklch */ color: oklch(69.0% 0.132 106.4);
Tailwind
colors: {
  custom: {
    50: '#c4bb6e',
    500: '#a6a02c',
    950: '#000000',
  },
}
SCSS
$custom: #a6a02c;
$custom-light: #c4bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a02c",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 57.049,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69014,
    "c": 0.13223,
    "h": 106.4
  },
  "luminance": 0.3343
}

Semantic roles & 50–950 ramp

primary
#A6A02C
secondary
#6D71C1
accent
#4EE146
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A6A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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