#A1A825#A1A825

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

Color values

HEX#A1A825
RGBrgb(161, 168, 37)
HSLhsl(63, 64%, 40%)
HSVhsv(63, 78%, 66%)
CMYKcmyk(4.2%, 0%, 78%, 34.1%)
CIE-LABlab(66.30, -18.01, 61.35)
CIE-LCHlch(66.30, 63.94, 106.36°)
OKLaboklab(70.33% -0.0562 0.134)
OKLCHoklch(70.33% 0.145 112.8)
XYZxyz(29.0355, 35.7166, 7.1144)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A825 #2C25A8
analogous
#A86D25 #A1A825 #60A825
triadic
#A1A825 #25A1A8 #A825A1
tetradic
#A1A825 #25A86D #2C25A8 #A82560
square
#A1A825 #25A86D #2C25A8 #A82560
split-complementary
#A1A825 #2560A8 #6D25A8
monochromatic
#41440F #71761A #A1A825 #CBD337 #D8DE69

Accessibility & contrast

On white

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

On black

8.14
#A1A825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A825
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A825#FFFFFF#000000##000000
##A1A8251.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1a825;
/* rgb */ color: rgb(161, 168, 37);
/* oklch */ color: oklch(70.3% 0.145 112.8);
Tailwind
colors: {
  custom: {
    50: '#c0c16b',
    500: '#a1a825',
    950: '#000000',
  },
}
SCSS
$custom: #a1a825;
$custom-light: #c0c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a825",
  "rgb": {
    "r": 161,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 63.206,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70334,
    "c": 0.14526,
    "h": 112.8
  },
  "luminance": 0.35716
}

Semantic roles & 50–950 ramp

primary
#A1A825
secondary
#6A65C4
accent
#41E74A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A825

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

Preview Lab → · Contrast checker → · Palette generator →

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