#A1A42B#A1A42B

#A1A42B is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.138 H 110.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A1A42B
RGBrgb(161, 164, 43)
HSLhsl(61, 58%, 41%)
HSVhsv(61, 74%, 64%)
CMYKcmyk(1.8%, 0%, 73.8%, 35.7%)
CIE-LABlab(65.20, -15.70, 58.35)
CIE-LCHlch(65.20, 60.43, 105.06°)
OKLaboklab(69.46% -0.0492 0.1287)
OKLCHoklch(69.46% 0.138 110.9)
XYZxyz(28.4104, 34.3032, 7.4096)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A42B #2E2BA4
analogous
#A46B2B #A1A42B #64A42B
triadic
#A1A42B #2BA1A4 #A42BA1
tetradic
#A1A42B #2BA46B #2E2BA4 #A42B64
square
#A1A42B #2BA46B #2E2BA4 #A42B64
split-complementary
#A1A42B #2B64A4 #6B2BA4
monochromatic
#424312 #71741E #A1A42B #C9CD3F #D7D970

Accessibility & contrast

On white

2.67
#A1A42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A1A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A42B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A42B#FFFFFF#000000##000000
##A1A42B1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D12
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#AC9A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a1a42b;
/* rgb */ color: rgb(161, 164, 43);
/* oklch */ color: oklch(69.5% 0.138 110.9);
Tailwind
colors: {
  custom: {
    50: '#c0be6e',
    500: '#a1a42b',
    950: '#000000',
  },
}
SCSS
$custom: #a1a42b;
$custom-light: #c0be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a42b",
  "rgb": {
    "r": 161,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 61.488,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69463,
    "c": 0.1378,
    "h": 110.9
  },
  "luminance": 0.34302
}

Semantic roles & 50–950 ramp

primary
#A1A42B
secondary
#6C6AC1
accent
#46E24A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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