#A2A927#A2A927

#A2A927 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.145 H 112.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#A2A927
RGBrgb(162, 169, 39)
HSLhsl(63, 63%, 41%)
HSVhsv(63, 77%, 66%)
CMYKcmyk(4.1%, 0%, 76.9%, 33.7%)
CIE-LABlab(66.68, -18.00, 61.09)
CIE-LCHlch(66.68, 63.69, 106.42°)
OKLaboklab(70.66% -0.056 0.1337)
OKLCHoklch(70.66% 0.145 112.7)
XYZxyz(29.4554, 36.2045, 7.3556)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A927 #2E27A9
analogous
#A96F27 #A2A927 #61A927
triadic
#A2A927 #27A2A9 #A927A2
tetradic
#A2A927 #27A96F #2E27A9 #A92761
square
#A2A927 #27A96F #2E27A9 #A92761
split-complementary
#A2A927 #2761A9 #6F27A9
monochromatic
#434610 #72771C #A2A927 #CAD23B #D7DD6D

Accessibility & contrast

On white

2.55
#A2A927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#A2A927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A927
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A927#FFFFFF#000000##000000
##A2A9271.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A103
Deuteranopia (green-blind)
#B6A432
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a927;
/* rgb */ color: rgb(162, 169, 39);
/* oklch */ color: oklch(70.7% 0.145 112.7);
Tailwind
colors: {
  custom: {
    50: '#c1c26c',
    500: '#a2a927',
    950: '#000000',
  },
}
SCSS
$custom: #a2a927;
$custom-light: #c1c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a927",
  "rgb": {
    "r": 162,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 63.231,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70655,
    "c": 0.14501,
    "h": 112.7
  },
  "luminance": 0.36204
}

Semantic roles & 50–950 ramp

primary
#A2A927
secondary
#6D68C4
accent
#42E64B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A927

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

Preview Lab → · Contrast checker → · Palette generator →

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