#A1A823#A1A823

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

Color values

HEX#A1A823
RGBrgb(161, 168, 35)
HSLhsl(63, 66%, 40%)
HSVhsv(63, 79%, 66%)
CMYKcmyk(4.2%, 0%, 79.2%, 34.1%)
CIE-LABlab(66.29, -18.09, 61.94)
CIE-LCHlch(66.29, 64.53, 106.28°)
OKLaboklab(70.32% -0.0566 0.1349)
OKLCHoklch(70.32% 0.146 112.8)
XYZxyz(29.0049, 35.7044, 6.9535)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A823 #2A23A8
analogous
#A86D23 #A1A823 #5EA823
triadic
#A1A823 #23A1A8 #A823A1
tetradic
#A1A823 #23A86D #2A23A8 #A8235E
square
#A1A823 #23A86D #2A23A8 #A8235E
split-complementary
#A1A823 #235EA8 #6D23A8
monochromatic
#40430E #707518 #A1A823 #CCD534 #D9DF66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1A823#FFFFFF#000000##000000
##A1A8231.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)
#B5A32F
Tritanopia (blue-blind)
#AC9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a1a823;
/* rgb */ color: rgb(161, 168, 35);
/* oklch */ color: oklch(70.3% 0.146 112.8);
Tailwind
colors: {
  custom: {
    50: '#c1c16a',
    500: '#a1a823',
    950: '#000000',
  },
}
SCSS
$custom: #a1a823;
$custom-light: #c1c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a823",
  "rgb": {
    "r": 161,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 63.158,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70323,
    "c": 0.14625,
    "h": 112.8
  },
  "luminance": 0.35704
}

Semantic roles & 50–950 ramp

primary
#A1A823
secondary
#6762C5
accent
#3FE848
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A823

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

Preview Lab → · Contrast checker → · Palette generator →

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