#A1A523#A1A523

#A1A523 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.6% C 0.143 H 111.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A1A523
RGBrgb(161, 165, 35)
HSLhsl(62, 65%, 39%)
HSVhsv(62, 79%, 65%)
CMYKcmyk(2.4%, 0%, 78.8%, 35.3%)
CIE-LABlab(65.44, -16.55, 61.18)
CIE-LCHlch(65.44, 63.38, 105.14°)
OKLaboklab(69.64% -0.0523 0.1332)
OKLCHoklch(69.64% 0.143 111.4)
XYZxyz(28.4575, 34.6094, 6.7710)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A523 #2723A5
analogous
#A56823 #A1A523 #60A523
triadic
#A1A523 #23A1A5 #A523A1
tetradic
#A1A523 #23A568 #2723A5 #A52360
square
#A1A523 #23A568 #2723A5 #A52360
split-complementary
#A1A523 #2360A5 #6823A5
monochromatic
#3E400E #707318 #A1A523 #CED332 #DADE64

Accessibility & contrast

On white

2.65
#A1A523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A1A523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A523
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A523#FFFFFF#000000##000000
##A1A5231.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a1a523;
/* rgb */ color: rgb(161, 165, 35);
/* oklch */ color: oklch(69.6% 0.143 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1bf6a',
    500: '#a1a523',
    950: '#000000',
  },
}
SCSS
$custom: #a1a523;
$custom-light: #c1bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a523",
  "rgb": {
    "r": 161,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 61.846,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69643,
    "c": 0.14314,
    "h": 111.4
  },
  "luminance": 0.34609
}

Semantic roles & 50–950 ramp

primary
#A1A523
secondary
#6360C4
accent
#40E845
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A523

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

Preview Lab → · Contrast checker → · Palette generator →

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