#A1A827#A1A827

#A1A827 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.3% C 0.144 H 112.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A1A827
RGBrgb(161, 168, 39)
HSLhsl(63, 62%, 41%)
HSVhsv(63, 77%, 66%)
CMYKcmyk(4.2%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.31, -17.93, 60.73)
CIE-LCHlch(66.31, 63.32, 106.45°)
OKLaboklab(70.35% -0.0558 0.133)
OKLCHoklch(70.35% 0.144 112.8)
XYZxyz(29.0677, 35.7295, 7.2843)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A827 #2E27A8
analogous
#A86E27 #A1A827 #60A827
triadic
#A1A827 #27A1A8 #A827A1
tetradic
#A1A827 #27A86E #2E27A8 #A82760
square
#A1A827 #27A86E #2E27A8 #A82760
split-complementary
#A1A827 #2760A8 #6E27A8
monochromatic
#424510 #71761B #A1A827 #C9D13B #D7DD6C

Accessibility & contrast

On white

2.58
#A1A827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A1A827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A827
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A827#FFFFFF#000000##000000
##A1A8271.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#B5A332
Tritanopia (blue-blind)
#AC9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a1a827;
/* rgb */ color: rgb(161, 168, 39);
/* oklch */ color: oklch(70.3% 0.144 112.8);
Tailwind
colors: {
  custom: {
    50: '#c0c16c',
    500: '#a1a827',
    950: '#000000',
  },
}
SCSS
$custom: #a1a827;
$custom-light: #c0c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a827",
  "rgb": {
    "r": 161,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 63.256,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70345,
    "c": 0.14424,
    "h": 112.8
  },
  "luminance": 0.35729
}

Semantic roles & 50–950 ramp

primary
#A1A827
secondary
#6C67C3
accent
#42E54B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A827

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

Preview Lab → · Contrast checker → · Palette generator →

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