#A2A827#A2A827

#A2A827 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.144 H 112.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A2A827
RGBrgb(162, 168, 39)
HSLhsl(63, 62%, 41%)
HSVhsv(63, 77%, 66%)
CMYKcmyk(3.6%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.39, -17.49, 60.83)
CIE-LCHlch(66.39, 63.30, 106.04°)
OKLaboklab(70.43% -0.0546 0.1332)
OKLCHoklch(70.43% 0.144 112.3)
XYZxyz(29.2701, 35.8338, 7.2938)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A827 #2D27A8
analogous
#A86E27 #A2A827 #61A827
triadic
#A2A827 #27A2A8 #A827A2
tetradic
#A2A827 #27A86E #2D27A8 #A82761
square
#A2A827 #27A86E #2D27A8 #A82761
split-complementary
#A2A827 #2761A8 #6E27A8
monochromatic
#424510 #72761B #A2A827 #CAD13B #D8DD6C

Accessibility & contrast

On white

2.57
#A2A827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A2A827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A827
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A827#FFFFFF#000000##000000
##A2A8271.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a827;
/* rgb */ color: rgb(162, 168, 39);
/* oklch */ color: oklch(70.4% 0.144 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c16c',
    500: '#a2a827',
    950: '#000000',
  },
}
SCSS
$custom: #a2a827;
$custom-light: #c1c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a827",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 62.791,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70429,
    "c": 0.14396,
    "h": 112.3
  },
  "luminance": 0.35833
}

Semantic roles & 50–950 ramp

primary
#A2A827
secondary
#6C67C3
accent
#42E54A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A827

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

Preview Lab → · Contrast checker → · Palette generator →

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