#A1A01B#A1A01B

#A1A01B is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.5% C 0.142 H 109.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A1A01B
RGBrgb(161, 160, 27)
HSLhsl(60, 71%, 37%)
HSVhsv(60, 83%, 63%)
CMYKcmyk(0%, 0.6%, 83.2%, 36.9%)
CIE-LABlab(64.00, -14.25, 62.16)
CIE-LCHlch(64.00, 63.77, 102.91°)
OKLaboklab(68.48% -0.0465 0.1339)
OKLCHoklch(68.48% 0.142 109.2)
XYZxyz(27.4677, 32.7987, 5.9206)
Luminance0.3280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A01B #1B1CA1
analogous
#A15D1B #A1A01B #5FA11B
triadic
#A1A01B #1BA1A0 #A01BA1
tetradic
#A1A01B #1BA15D #1B1CA1 #A11B5F
square
#A1A01B #1BA15D #1B1CA1 #A11B5F
split-complementary
#A1A01B #1B5FA1 #5D1BA1
monochromatic
#383809 #6D6C12 #A1A01B #D5D424 #E2E154

Accessibility & contrast

On white

2.78
#A1A01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A1A01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A01B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A01B#FFFFFF#000000##000000
##A1A01B1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9D28
Tritanopia (blue-blind)
#AD9588
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a1a01b;
/* rgb */ color: rgb(161, 160, 27);
/* oklch */ color: oklch(68.5% 0.142 109.2);
Tailwind
colors: {
  custom: {
    50: '#c1bb66',
    500: '#a1a01b',
    950: '#000000',
  },
}
SCSS
$custom: #a1a01b;
$custom-light: #c1bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a01b",
  "rgb": {
    "r": 161,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 59.552,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.68476,
    "c": 0.14172,
    "h": 109.2
  },
  "luminance": 0.32798
}

Semantic roles & 50–950 ramp

primary
#A1A01B
secondary
#5253C5
accent
#3BEE3A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A1A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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