#A1A02F#A1A02F

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

Color values

HEX#A1A02F
RGBrgb(161, 160, 47)
HSLhsl(59, 55%, 41%)
HSVhsv(59, 71%, 63%)
CMYKcmyk(0%, 0.6%, 70.8%, 36.9%)
CIE-LABlab(64.10, -13.43, 55.83)
CIE-LCHlch(64.10, 57.42, 103.52°)
OKLaboklab(68.59% -0.0425 0.1241)
OKLCHoklch(68.59% 0.131 108.9)
XYZxyz(27.7828, 32.9248, 7.5804)
Luminance0.3292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A02F #2F30A1
analogous
#A1672F #A1A02F #69A12F
triadic
#A1A02F #2FA1A0 #A02FA1
tetradic
#A1A02F #2FA167 #2F30A1 #A12F69
square
#A1A02F #2FA167 #2F30A1 #A12F69
split-complementary
#A1A02F #2F69A1 #672FA1
monochromatic
#424213 #727121 #A1A02F #C9C745 #D6D674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1A02F#FFFFFF#000000##000000
##A1A02F1.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)
#AD991C
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#AD968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a1a02f;
/* rgb */ color: rgb(161, 160, 47);
/* oklch */ color: oklch(68.6% 0.131 108.9);
Tailwind
colors: {
  custom: {
    50: '#c0bb6f',
    500: '#a1a02f',
    950: '#000000',
  },
}
SCSS
$custom: #a1a02f;
$custom-light: #c0bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a02f",
  "rgb": {
    "r": 161,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 59.474,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6859,
    "c": 0.13117,
    "h": 108.9
  },
  "luminance": 0.32924
}

Semantic roles & 50–950 ramp

primary
#A1A02F
secondary
#6E6EBE
accent
#4BDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A1A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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