#A1A02A#A1A02A

#A1A02A is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.6% C 0.134 H 109.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A1A02A
RGBrgb(161, 160, 42)
HSLhsl(59, 59%, 40%)
HSVhsv(59, 74%, 63%)
CMYKcmyk(0%, 0.6%, 73.9%, 36.9%)
CIE-LABlab(64.07, -13.67, 57.63)
CIE-LCHlch(64.07, 59.23, 103.35°)
OKLaboklab(68.56% -0.0437 0.127)
OKLCHoklch(68.56% 0.134 109)
XYZxyz(27.6877, 32.8867, 7.0793)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A02A #2A2BA1
analogous
#A1652A #A1A02A #66A12A
triadic
#A1A02A #2AA1A0 #A02AA1
tetradic
#A1A02A #2AA165 #2A2BA1 #A12A66
square
#A1A02A #2AA165 #2A2BA1 #A12A66
split-complementary
#A1A02A #2A66A1 #652AA1
monochromatic
#404011 #70701D #A1A02A #CCCB3C #D9D86D

Accessibility & contrast

On white

2.77
#A1A02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#A1A02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A02A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A02A#FFFFFF#000000##000000
##A1A02A1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#AD9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a1a02a;
/* rgb */ color: rgb(161, 160, 42);
/* oklch */ color: oklch(68.6% 0.134 109.0);
Tailwind
colors: {
  custom: {
    50: '#c0bb6d',
    500: '#a1a02a',
    950: '#000000',
  },
}
SCSS
$custom: #a1a02a;
$custom-light: #c0bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a02a",
  "rgb": {
    "r": 161,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 59.496,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68556,
    "c": 0.13428,
    "h": 109
  },
  "luminance": 0.32886
}

Semantic roles & 50–950 ramp

primary
#A1A02A
secondary
#6768C0
accent
#47E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A1A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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