#A2A627#A2A627

#A2A627 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.142 H 111.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A2A627
RGBrgb(162, 166, 39)
HSLhsl(62, 62%, 40%)
HSVhsv(62, 77%, 65%)
CMYKcmyk(2.4%, 0%, 76.5%, 34.9%)
CIE-LABlab(65.83, -16.47, 60.31)
CIE-LCHlch(65.83, 62.52, 105.27°)
OKLaboklab(69.98% -0.0518 0.1321)
OKLCHoklch(69.98% 0.142 111.4)
XYZxyz(28.9037, 35.1011, 7.1717)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A627 #2B27A6
analogous
#A66B27 #A2A627 #62A627
triadic
#A2A627 #27A2A6 #A627A2
tetradic
#A2A627 #27A66B #2B27A6 #A62762
square
#A2A627 #27A66B #2B27A6 #A62762
split-complementary
#A2A627 #2762A6 #6B27A6
monochromatic
#414310 #72741B #A2A627 #CCD13A #D9DC6B

Accessibility & contrast

On white

2.62
#A2A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A2A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A627
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A627#FFFFFF#000000##000000
##A2A6271.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#AE9B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a627;
/* rgb */ color: rgb(162, 166, 39);
/* oklch */ color: oklch(70.0% 0.142 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1c06c',
    500: '#a2a627',
    950: '#000000',
  },
}
SCSS
$custom: #a2a627;
$custom-light: #c1c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a627",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 61.89,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69976,
    "c": 0.14187,
    "h": 111.4
  },
  "luminance": 0.351
}

Semantic roles & 50–950 ramp

primary
#A2A627
secondary
#6966C3
accent
#43E548
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A627

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

Preview Lab → · Contrast checker → · Palette generator →

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