#A1A830#A1A830

#A1A830 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.139 H 112.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A1A830
RGBrgb(161, 168, 48)
HSLhsl(64, 56%, 42%)
HSVhsv(64, 71%, 66%)
CMYKcmyk(4.2%, 0%, 71.4%, 34.1%)
CIE-LABlab(66.36, -17.50, 57.67)
CIE-LCHlch(66.36, 60.27, 106.88°)
OKLaboklab(70.4% -0.0538 0.1281)
OKLCHoklch(70.4% 0.139 112.8)
XYZxyz(29.2350, 35.7964, 8.1651)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A830 #3730A8
analogous
#A87330 #A1A830 #65A830
triadic
#A1A830 #30A1A8 #A830A1
tetradic
#A1A830 #30A873 #3730A8 #A83065
square
#A1A830 #30A873 #3730A8 #A83065
split-complementary
#A1A830 #3065A8 #7330A8
monochromatic
#464915 #737822 #A1A830 #C4CB4A #D3D97A

Accessibility & contrast

On white

2.57
#A1A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A1A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A830
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A830#FFFFFF#000000##000000
##A1A8301.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#AC9E91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a1a830;
/* rgb */ color: rgb(161, 168, 48);
/* oklch */ color: oklch(70.4% 0.139 112.8);
Tailwind
colors: {
  custom: {
    50: '#c0c171',
    500: '#a1a830',
    950: '#000000',
  },
}
SCSS
$custom: #a1a830;
$custom-light: #c0c171;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a830",
  "rgb": {
    "r": 161,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 63.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.13899,
    "h": 112.8
  },
  "luminance": 0.35796
}

Semantic roles & 50–950 ramp

primary
#A1A830
secondary
#7773C1
accent
#49DF52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A830

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

Preview Lab → · Contrast checker → · Palette generator →

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