#A1A232#A1A232

#A1A232 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.131 H 109.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A1A232
RGBrgb(161, 162, 50)
HSLhsl(61, 53%, 42%)
HSVhsv(61, 69%, 64%)
CMYKcmyk(0.6%, 0%, 69.1%, 36.5%)
CIE-LABlab(64.68, -14.31, 55.25)
CIE-LCHlch(64.68, 57.07, 104.52°)
OKLaboklab(69.06% -0.0447 0.1234)
OKLCHoklch(69.06% 0.131 109.9)
XYZxyz(28.1949, 33.6488, 8.0266)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A232 #3332A2
analogous
#A26B32 #A1A232 #69A232
triadic
#A1A232 #32A1A2 #A232A1
tetradic
#A1A232 #32A26B #3332A2 #A23269
square
#A1A232 #32A26B #3332A2 #A23269
split-complementary
#A1A232 #3269A2 #6B32A2
monochromatic
#444415 #737324 #A1A232 #C6C74A #D5D679

Accessibility & contrast

On white

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

On black

7.73
#A1A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A232
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A232#FFFFFF#000000##000000
##A1A2321.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B20
Deuteranopia (green-blind)
#B09F3A
Tritanopia (blue-blind)
#AC988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a232;
/* rgb */ color: rgb(161, 162, 50);
/* oklch */ color: oklch(69.1% 0.131 109.9);
Tailwind
colors: {
  custom: {
    50: '#c0bd71',
    500: '#a1a232',
    950: '#000000',
  },
}
SCSS
$custom: #a1a232;
$custom-light: #c0bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a232",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 60.536,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69062,
    "c": 0.13122,
    "h": 109.9
  },
  "luminance": 0.33648
}

Semantic roles & 50–950 ramp

primary
#A1A232
secondary
#7272BE
accent
#4CDC4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A232

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

Preview Lab → · Contrast checker → · Palette generator →

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