#A1A22B#A1A22B

#A1A22B is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.136 H 110.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A1A22B
RGBrgb(161, 162, 43)
HSLhsl(61, 58%, 40%)
HSVhsv(61, 73%, 64%)
CMYKcmyk(0.6%, 0%, 73.5%, 36.5%)
CIE-LABlab(64.64, -14.67, 57.81)
CIE-LCHlch(64.64, 59.65, 104.23°)
OKLaboklab(69.01% -0.0464 0.1276)
OKLCHoklch(69.01% 0.136 110)
XYZxyz(28.0553, 33.5930, 7.2913)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A22B #2C2BA2
analogous
#A2672B #A1A22B #66A22B
triadic
#A1A22B #2BA1A2 #A22BA1
tetradic
#A1A22B #2BA267 #2C2BA2 #A22B66
square
#A1A22B #2BA267 #2C2BA2 #A22B66
split-complementary
#A1A22B #2B66A2 #672BA2
monochromatic
#414111 #71721E #A1A22B #CBCC3E #D8D96F

Accessibility & contrast

On white

2.72
#A1A22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A1A22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A22B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A22B#FFFFFF#000000##000000
##A1A22B1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B13
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#AD988B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a22b;
/* rgb */ color: rgb(161, 162, 43);
/* oklch */ color: oklch(69.0% 0.136 110.0);
Tailwind
colors: {
  custom: {
    50: '#c0bd6d',
    500: '#a1a22b',
    950: '#000000',
  },
}
SCSS
$custom: #a1a22b;
$custom-light: #c0bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a22b",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 60.504,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69012,
    "c": 0.13572,
    "h": 110
  },
  "luminance": 0.33592
}

Semantic roles & 50–950 ramp

primary
#A1A22B
secondary
#6A69C0
accent
#47E148
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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